[Lazarus] Custom GraphicsControl - need Canvas to set Heightoutside OnPaint
Vojtěch Čihák
vojtech.cihak at atlas.cz
Mon Apr 7 12:18:08 CEST 2014
Hi,
you can do measurement in overriden CreateWnd, Canvas already exists there.
Blaazen
______________________________________________________________
> Od: Petr Kristan <petr.kristan at epos.cz>
> Komu: <lazarus at lists.lazarus.freepascal.org>
> Datum: 07.04.2014 11:03
> Předmět: [Lazarus] Custom GraphicsControl - need Canvas to set Heightoutside OnPaint
>
Hi.
I'am creating an graphics control and I need Canvas to set control
Height. But I can draw (access to Canvas) only in OnPaint event.
How to solve this problem?
Thanks
Petr
--
Petr Kristan
.
EPOS PRO s.r.o., Smilova 333, 530 02 Pardubice
tel: +420 461101401 Czech Republic (Eastern Europe)
fax: +420 461101481
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140407/3d870f61/attachment-0003.html>
More information about the Lazarus
mailing list