> 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)

You should be able to set Left and Top in OnCreate, if 
TForm.Position=poDesigned.

I suspect TForm.Position is not set to poDesigned, so your code is being
overridden by the VCL code.

Glenn Lawler



-----------------------------------------------------
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/
 


Reply via email to