Using PopupControl as a message box replacement |
Post Reply |
Author | ||
eugene_v
Groupie Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 13 September 2007 at 11:40am |
|
Good day everyone! Has anyone tried using the PopupControl as a less annoying replacement for a message box under VB6? PopupControl seems to have .Right property that doesn't allow it to be displayed centered to a form, for example. Do you think it is possible to display the PopupControl centered to a form?
|
||
Eugene V
A happy registered user of Xtreme SuitePro 2007 11.2.0 with VB6 |
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
Hi,
You know size of Popup, you know Size and position of Form, don't see why you can't calculate Right property to make it centered.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
eugene_v
Groupie Joined: 12 September 2007 Location: Canada Status: Offline Points: 14 |
Post Options
Thanks(0)
|
|
You are correct! It didn't seam to work because VB uses Twips and Popup uses pixes.
Here is how to center your popup on a form and
use it as a message box replacement:
|
||
Eugene V
A happy registered user of Xtreme SuitePro 2007 11.2.0 with VB6 |
||
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 |