Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to trap Autofit() button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00951253
Message ID:
00951278
Vues:
10
I'm using a grid that is dynamic, it rebuilds itself and I want to set columns width just after the Autofit() method. This way the columns won't change size once the grid is regenerated.


>Luc,
>
>What do you need to do? You can prevent resizing via the AllowAutoColumnFit. Otherwise the Resize() events of the columns fire. You can also check the mouse coordinates in the grid.MouseDown and determine if they are within the autofit button boundaries.
>
>>Is there a way to trap if a user is clicking on the autofit button in a Grid?
Luc Nadeau
lnadeau@neova.ca

"the theory, it is when all is known and that nothing works. The practice, it is when all works and that nobody knows why." - Albert Einstein (Nobel of physique 1921)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform