> Changing a property can change various others as well. For example
> changing the Width can change child controls, siblings and parent.
Yes, but applying this change to the child form should result in exactly the
same consequences, unless the affected components were changed already... ?
Michael.
Mattias,
This is where my implementation of the Observer using BeginUpdate and
EndUpdate plays a roll. See the tiOPF code I sent you. Normally the
Subject (FormA) would fire off the Notify method for every small
change which could cause lots of screen redraws. BeginUpdate and
EndUpdate allows you to make all those small changes and then fire off
a single Notify call.
Regards,
- Graeme -
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives