Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering a Form
Message
From
01/01/1998 14:57:27
 
 
To
01/01/1998 12:48:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00068786
Message ID:
00068812
Views:
23
>>I use the following to set the screen size:
>>
>>_screen.width = 792
>>_screen.height = 521
>>
>>However, when I open forms that are auto centering, they always appear in the center of the screen and not in the center of the form. Anyone know how I can correct this? The screen only starts out that size the user can expand/shring the form as they see fit. What I'm looking for is a method to center a form within the main visual foxpro screen and not the actual monitor screen. Thanks!
>>
>>Gary
>
>I'm curious.
>What's the sequence that you do this, because it works for me.
>I type "_screen.width = 700" in the command window, then I run a form that auto-centers, and it is in the center
>of my VFP window.
>
>Bill

Bill,

The main form starts in the upper left hand corner of the screen as I do desire it to. (Its non centering)...Its the other forms within the main form which seem to focus thier center on the screen and not the form.

Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform