Hi,
How do I centre an object on my form??? I tried this:
CmdContinue.top = form1.width / 2
CmdContinue.left = form1.height / 2
You can stop laughing now.
Printable View
Hi,
How do I centre an object on my form??? I tried this:
CmdContinue.top = form1.width / 2
CmdContinue.left = form1.height / 2
You can stop laughing now.
I'm not laughing!!!
ATT!!!
CmdContinue.top = form1.height/2-CmdContinue.height/2
CmdContinue.left = form1.width/2-CmdContinue.width/2
[This message has been edited by Mimo (edited 11-13-1999).]
Thanks!