Skip to Content
author's profile photo Former Member
Former Member

Opening a form and centering it on the screen

Hello,

In a VB6 addon for SBO 6.5 I want to open a form but on center screen ...

Could you help me please ?

Is there a Screen Object ... ?

Thanks.

Romeo.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2004 at 10:51 AM

    VB has a screen object, SBO has a Desktop object (accessed via the Desktop property of the Application object). Both of these hold height/width etc, that you could use to work out where to place your window.

    John.

    Add comment
    10|10000 characters needed characters exceeded