Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form top and left question
Message
 
À
07/01/2002 21:49:32
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00601770
Message ID:
00601860
Vues:
29
Is the StartupPosition property of the form set to 0 ?
The Move of a form goes to its Form_Load event.

>Hi,
>
>My application had multiple form which I want to control the
>coordination point, so I tried to move my form using code example below.
>But they all give me different position. What is wrong with my
>code. Please kindly advise and help. Thank you
>
>
>Example 01) frmForm1.Move FrmMain.Left, FrmMain.Top
> frmForm1.Show vbModal
>
>Example 02) frmForm1.Coord FrmMain.Left, FrmMain.Top
> frmForm1.Show vbModal
>
>private frmLeft as integer
>private frmTop as integer
>frmForm1 Coord method(pvLeft as integer, pvTop as integer)
>
> frmLeft = pvLeft
> frmTop = pvTop
>
>
>frmForm1 Active event
>
>Me.Top = frmTop
>Me.Left = frmLeft
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform