Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to trap Autofit() button
Message
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00951253
Message ID:
00951277
Views:
8
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform