Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form top and left question
Message
 
To
07/01/2002 21:49:32
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00601770
Message ID:
00601860
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform