Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to snap a form to the bottom of the screen
Message
De
30/11/2004 15:27:40
 
 
À
30/11/2004 14:20:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00965729
Message ID:
00965829
Vues:
12
This message has been marked as a message which has helped to the initial question of the thread.
SYSMETRIC() should give you the info you need.

Tamar

>Thanks Jim. I forget to mention that the form is a top-level form with _screen.visible = .f.

>>>Hi all,
>>>
>>>How do I 'snap' a form to the bottom-right part of the screen?
>>
>>Ramil,
>>
>>Something like this might work.
>>
>>LOCAL lnHeight, lnWidth
>>
>>lnHeight = _SCREEN.Height
>>lnWidth = _SCREEN.Width
>>
>>ThisForm.Top = lnHeight - ThisForm.Height
>>ThisForm.Left = lnWidth - ThisForm.Width
>>
>>
>>HTH,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform