Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Mouse pointer when mouse over Header
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00509971
Message ID:
00510028
Vues:
18
>>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform