Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Pointer in Grid
Message
 
À
13/10/2000 12:29:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00428874
Message ID:
00429197
Vues:
27
>>In the grids mousemove you can reset it and in all the columns other then the column with the read only data.
>>Only in the column's mousemove evnet you need to set it.
>>For the objects in the column you already can set it at design time.
>
>You can, of course, set it any way you like, but the only place the mouse pointer will be affected by the design time settings is over the active cell. My experience has been that when it is ddesired the pointer to be an arrow over any specific row/column, you have to use something like the code I supplied. Any column the code is not in will operate according to the default settings made at design time or made programmatically at run time.

First of all, i didn't want to bother you.
if you read all the messages you see that we also conluded that the things you do at desing time only affect the cell if it is active. But that can you set at design time. You don't need to set it to the same value every tim you come over the control.
But about the column, then you are right.
But if you set the mousemove code only in the columns mousemove event it will already work.
You don't need to set it in the grids mousemove event, or in the headers mousemove event.

I thought it was more difficult. Thanks for directing me to that simple solution.

I now think the solution is this.
At design time set the mousepointer property to 1 for all the controls in the column.
In the column's mousemove event set the grids mousepointer to 1 (this.Parent.Mousepointer = 1)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform