Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing click event when resizing header
Message
From
16/08/2001 09:27:30
 
 
To
16/08/2001 08:32:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00544608
Message ID:
00544647
Views:
20
>Hello
>
>
>when i'm resizing the headers in my grid the click event of the header is fired
>and the column get ordered by it's index ..
>
>how can i prevent this?
>
>
>thx in advance
>
>Christian Ehlscheid

The resize() of the column fires before the click() of the header, so you could probably use a form property that would be set to true in the resize and to false on the click.

This way you know when it was just the click() or if the resize() preceded it. Sounds like there should be a better way, but I'm not a big grid user myself.
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform