Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-10

Patch for TCustomForm.PaintWindow

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

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.freepascal.org/pipermail/lazarus/attachments/20131015/4656771b/attachment.html>

Reply by email