Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ATResizer work with grids of column count -1?
Message
From
22/11/2003 16:51:06
Bill Drew
Independent Consultant
Chicago, Illinois, United States
 
 
To
22/11/2003 14:53:58
Bill Drew
Independent Consultant
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00852668
Message ID:
00852684
Views:
8
Arto

I did some experimenting and found that I only had to call saveoriginaldimensions for the grid not any of its component elements. This is in code after the recordsource has been defined and after the call to autofit.

Further I need to call the grid's autofit after the form's resize action occurs.

It works great now!

>Arto,
>I'm impressed with your form resizer. I got an error saying that nOriginalFontSize is not found. Taking a look at the instructions and the code, I'm guessing that these "original" properties have never been set for some of the controls that come into existence when a grid gets its properties based on the number of columns in the recordsource. Possibly the columns, text boxes, or headers are unknown by your class because they didn't exist when the form init method fired. Is this the case? And if so, how and when do I call the "saveoriginaldimensions" method for each of the contained controls??
>Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform