I always set form size and position in OnShow, it works fine for me. David
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Monir-SCS Sent: Saturday, June 04, 2005 8:00 AM To: [email protected] Subject: [delphi-en] set form top and left at run time I need to set form top and left at run time, I am reading these values from ini file, Setting left and top in OnCreate has no effect and so in OnShow , Setting left and top in OnActivate worked but with flicker (the form will appear at screen center then shifted to postions specified by (left, top) So what is the best way to set form top and left at run time? Thanks for your help. Monir ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links ----------------------------------------------------- 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/

