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


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to