Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Edit mode sizes textboxes incorrectly for Arial fon
Message
De
04/03/2003 00:24:50
 
 
À
03/03/2003 19:42:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00760659
Message ID:
00760736
Vues:
28
I tested your code. I see what you mean when you change the grid mode to Edit. I'm not sure you can control that or if that is normal. However, here's my suggestion.

When working with grids, in all applications I did, and that is the same for all controls I put on a form, I never rely on the base classes. Having said that, the same is true for a grid. When I drop my grid class on a form, a base grid custom class - not the one from VFP, at run time, it will adjust itself accordingly to the required font for each column for each textbox, the required size and so on. That means, instead of having a grid defined to show the data, the specific number of columns is defined and each textbox is coming from my testbox class and not the one from VFP. So, by that, I can control exactly how I want the grid to be displayed. I also never allow someone to go in the Edit mode of the grid. For wherever we have editing allowed in a grid, it is done with the proper controls at browse mode.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform