Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to snap a form to the bottom of the screen
Message
From
30/11/2004 16:39:10
 
 
To
30/11/2004 15:27:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00965729
Message ID:
00965867
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform