Andi4553
asked on
TPanel.BeginUpdate ?
Hi, how can i implement a TPanel.BeginUpdate ?
I have a Panel, where some other Components are inside (other Panels, Editcontrols ...)
I would like to Lock the Panel (no further Updates), Realign all childcontrols, add some controls, Unlock the panel, invalidate the panel.
I have a Panel, where some other Components are inside (other Panels, Editcontrols ...)
I would like to Lock the Panel (no further Updates), Realign all childcontrols, add some controls, Unlock the panel, invalidate the panel.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Andi4553:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
accept Madshi's comment as answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thanks,
geobul
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
accept Madshi's comment as answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thanks,
geobul
EE Cleanup Volunteer
What about playing with DisableAlign & EnableAlign methods of TPanel? Remember only that each call of DisableAlign must be matched with corresponding call of EnableAlign (see online help for TWinControl).
example:
Panel1.DisableAlign;
try
// do all manipulations with child controls of the Panel1
finally
Panel1.EnableAlign;
end;
Hope this helps, Ivo.