[Lazarus] Patch for TCustomForm.PaintWindow

Anthony Walter sysrpl at gmail.com
Wed Oct 16 04:03:36 CEST 2013


This patch allows custom form modules to paint themselves.

Can someone test and apply patch to TCustomForm.PaintWindow in
customform.inc.

Changed from: if FDesigner <> nil then FDesigner.PaintGrid; else Paint;
Changed to: Paint; if FDesigner <> nil then FDesigner.PaintGrid;

The above change allows custom form painting to be done at design time with
appropriately registered form classes:

http://www.youtube.com/watch?v=z8YY7cGYVI8&t=8m52s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131015/4656771b/attachment-0002.html>


More information about the Lazarus mailing list