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 16:39:10
 
 
À
30/11/2004 15:27:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00965729
Message ID:
00965867
Vues:
10
Great! Now I need to check if the Windows Taskbar is visible or autohidden.

>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,
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform