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 15:27:40
 
 
To
30/11/2004 14:20:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00965729
Message ID:
00965829
Views:
13
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform