On 21.02.2017 19:13, Donald Ziesig via Lazarus wrote:
One more question. Where can I find documentation for TControl.ScaleCoord() or ScaleCoord96()? It is not in the CCR. I will search the source.

The difference is in the scale basis:
ScaleCoord96: hard-coded 96.
ScaleCoord: DesignTimePPI (= the PPI of the IDE - be aware that it can change if you open your project on a different system with different DPI).

ScaleCoord96 is to use for hard-coded values in 96 PPI.

I'll document the functions in the CCR.

Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to