sysrpl at gmail.com
Wed Mar 4 13:03:29 CET 2015
Is there some reason, other than for Delphi compatibility, that the
MainForm of an application must descend from TForm, rather than allowing
other TCustomForm derived forms?
I was writing some custom form modules and was surprised that they cannot
be made at the first form in an application.
Also I thought I submitted a patch for this a year ago, but
TCustomForm.PaintWindow still prevents a form from doing any painting while
in design mode. The simple fix is:
if Designer <> nil then Designer.PaintGrid;
Rather than as it is now:
if Designer <> nil then Designer.PaintGrid else Paint;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus