It's obviously easy enough to fit a grid into the client space of a form
or panel, but how does one do the reverse?
The exact size of a grid (i.e. such that the outermost grid lines are
either displayed or not displayed predictably) depends on the widget
set, and possibly on other details such as fount metrics, screen DPI and
so on. At present I find myself applying "fudge factors" when shrinking
a form to be an exact fit around a grid of a predetermined number of
rows and columns, and that's still not entirely reliable when moving
between systems.
Is there a "correct" way of doing this?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus