amjedmsa
asked on
change form starting position
i know this question is easy but i cant figure it out
all i want to do is when i start the application it will start were i tell
it to in an X,Y point say 554,312 or something like that
please help thank u
all i want to do is when i start the application it will start were i tell
it to in an X,Y point say 554,312 or something like that
please help thank u
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just set Form1.Left,Form1.Top to new coordinates in the FormShow or FormCreate event.
if the user's display resolution has changed then the form will be in bad postion
you should read the 3rd link above
you should read the 3rd link above
Why not position it at design time and set Form1.Position to poDesigned?
ASKER
JDuncan u did it
thank u every one for your help iam very pleased with ur ansewers
and i would give u all the points JDuncan for getting exactly what iwant to do thanks again and to u all
thank u every one for your help iam very pleased with ur ansewers
and i would give u all the points JDuncan for getting exactly what iwant to do thanks again and to u all
or also you can ClientOrigin property of the form.
anyway, check these examples:
http://greatis.com/delphi/forms-setposition.html
http://www.webtechcorp.com/web-developer-training-delphi-tip-7.htm
http://kanadepro.com/delphistuff/sampcode.mv?listTipsScreen+6#15
full code written
hope it helped ...