Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering form inside a MDI form
Message
De
30/03/2001 10:50:21
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Centering form inside a MDI form
Divers
Thread ID:
00490334
Message ID:
00490334
Vues:
36
Using VB6.

My app has a MDI form that is opened with WindowState = 2. Another form called menu is opened inside the MDI form.

How can I make the menu form open up centered in the MDI form? I tried placing Me.StartUpPosition = 1 in the menu form's LOAD(). However, when I do this, I get a VB error when running the form. The message starts with:
Function or interface marked as restricted

How can I get any form to startup centered in a MDI form?

Thanks,

Jerryt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform