Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Mouse pointer when mouse over Header
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00509971
Message ID:
00510028
Views:
17
>>Hi
>>I disabled the Movable property for all columns in my grid. I have some click in the Click() event of some of the headers, and it works fine. The only problem is that when the columns were movable, it changed the Mouse pointer when over the Header area ( normal VFP behavior ), and now it doesn't. I checked, and there is no MousePointer property for the Header, so does anybody have an idea on how to change the Mouse pointer *only* when Mouse is over the Header?
>>I also tried to leave the Movable property of the columns .T., and then added NODEFAULT into the Moved event, but this didn't prevent the columns from moving.
>>
>>Thanks,
>>Jaime
>
>Hi Jaime,
>
>To tell you the truth, I'm not sure why you would want to display the move icon when you cannot move the column. Even so, you might try setting the Movable property of the column to .F. in the MouseDown Event of the Header, and then resetting it to .T. in the MouseUp Event. If that doesn't work, you may be able to return the column back to it's original position in the Moved event, effectively ignoring the move.

I just needed to give the user the feeling that the header is clickable, and the 'Down Arrow' from the movable event is very explicit. Anyway, as for your suggestion, i need to show the different Moispointer prior to the mousedown event, but you can check the answer from Cetin, who did the trick.

Thanks,
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform