[Lazarus] Visual "uglyness" when creating TSynEdit @ runtime in my app

Martin lazarus at mfriebe.de
Sat Jan 5 10:39:13 CET 2013


On 05/01/2013 09:37, Mattias Gaertner wrote:
> Just for reference, I did some tests on Win Vista 32 bit
>
>     s:=PageControl1.AddTabSheet;
>     l := TSynEdit.Create(self);
>     l.Align := alClient;
>     l.Parent := s;
>     PageControl1.ActivePage := s;
>
> ActivePage will trigger painting, but it first aligns the SynEdit, so I
> get a correct display.
> Does "trigger" means immediate paint or a normal queued message?
> There should be no immediate paints. Except those explicitly forced
> by the user code.
immediately. Step in the debugger, and see it happen





More information about the Lazarus mailing list