|
-
Nov 12th, 1999, 08:32 PM
#1
Thread Starter
Hyperactive Member
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.
-
Nov 12th, 1999, 08:42 PM
#2
Addicted Member
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).]
-
Nov 12th, 1999, 10:15 PM
#3
Thread Starter
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|