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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.