Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ATResizer work with grids of column count -1?
Message
De
22/11/2003 16:51:06
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
 
 
À
22/11/2003 14:53:58
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00852668
Message ID:
00852684
Vues:
7
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform