Is the form visible while you are adding components to it???
 
Failing that there is a windows API command to freezes all drawing updates to a window - LockWindowUpdate.
 
 
 
Nahum.
 
 
 -----Original Message-----
From: Robert Martin [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 12:26 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Refreshing forms

I am adding a largish number of components to a form.  Is there a way to disable refreshing of the form until all components have been placed.  Is there a method similar to the following for forms??
 
....BeginUpdate
try
  ....
  ....
finally
  ...EndUpdate
end;
 
 
Rob
Software engineer
Wild Software Ltd
[EMAIL PROTECTED]

Reply via email to