Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 3 - Determining grid's Top and Left Properties at ru
Message
From
06/07/1997 22:28:46
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00038742
Message ID:
00038749
Views:
34
>I am trying to develop a routine to resize and reposition the controls on a form when the form is resized. My tests are going fine so far with the exception of the grid control. The grid's Top and Left properties are returning 0. It appears that the grid loses its location when the form is resized. Has anyone found a workaround for this problem.
>TIA
>Steve Ruhl

Steve - What about creating custom grid properties nMyTop and nMyLeft and initialize them in the Init() even of the grid to be the same as the grid's already existing Top and Left properties? This way you could look at those properties when the form is resized to get the values you need.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform