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:
Paint;
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...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150304/fe6926d9/attachment.html>
