Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - PopupControl: Center on Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PopupControl: Center on Form

 Post Reply Post Reply
Author
Message
rdeboer View Drop Down
Groupie
Groupie


Joined: 29 April 2004
Location: Netherlands
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdeboer Quote  Post ReplyReply Direct Link To This Post Topic: PopupControl: Center on Form
    Posted: 06 June 2005 at 4:24pm

How do I center a PopupControl on the current form in VB6?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.