Curtis: Try the folowing:
LockWindowUpdate(TForm1.Handle); try // Create and Destroy your panels; finally LockWindowUpdate(0); end; Hope it helps... Cheers /////////////////////////////////////////////////////// Walter Andrade Campelo WEA Sistemas de Informatica Ribeirao Preto - SP - Brasil /////////////////////////////////////////////////////// ----- Original Message ----- From: Curtis cloud To: [email protected] Sent: Friday, April 29, 2005 12:36 PM Subject: [delphi-en] Stop my screen from flickering All, I am developing a program that dynamically creates and removes panels from a groupbox on the fly depend on if the control variable changes, the screen is updated each second. My problem is 1, how do you destroy and free the panels before creating the new one. And 2, how do you stop the screen from flickering each time the form is updated. Thanks.. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] ------------------------------------------------------------------------------ Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

