![]() |
PopupControl: Center on Form |
Post Reply
|
| Author | |
rdeboer
Groupie
Joined: 29 April 2004 Location: Netherlands Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Topic: PopupControl: Center on FormPosted: 06 June 2005 at 4:24pm |
|
How do I center a PopupControl on the current form in VB6? |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2005 at 5:21pm |
|
Use the Right and Bottom properties of the Popup to center it in the
form. It uses the pixel coordinate system. You can try
something like PopupControl.Right = Form.ScaleWidth\2 and
PopupControl.Bottom = Form.ScaleHeight\2.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |