Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form top and left question
Message
De
09/01/2002 20:11:05
 
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00601770
Message ID:
00602794
Vues:
22
Thank a lot for your help and advise.

>The Top property (just like the Left property) of a control inside a form is the value of that property inside the form (not inside the screen).
>
>Try this:
>
.Move frmMain.Left, frmAddSku.cmdConfirm.Top + frmAddSku.Top
>
>>Thank for your advise.
>>I had set the startupPosition property of the form to 0, but
>>it still don't show as I stated, but the left position is always
>>correct, but not the top position.
>>
>>Below is my code to load the form, it should position the keyboard
>>form at the same left position of my frmMain and its top should be at frmAddSku
>>command button top position, but it just didn't. Please kindly advise.
>>
>> With frmKeyBoard
>> .SetUp frmAddSku, "txtplu"
>> .Move frmMain.Left, frmAddSku.cmdConfirm.Top
>> .Show vbModal
>> End With
>>
>>
Best Regards
Virusim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform