Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MousePointer in read-only grid
Message
De
03/02/1999 12:14:57
Magnus Persson
Widmark & Platzer Ab
Stockholm, Suède
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00183337
Message ID:
00183504
Vues:
21
>>Thanks, I think it will be possible to capture the click event of the shape-object, and force a click event at the same coordinates for the underlying grid. At least I will give it a try.
>
>That's a little trickier. For that, I use no shape, but column Mousemove with Vlad Tatavu's procedure for converting the mouse pointer (in the UT KB), which uses API calls to do the business. I can give you some tips if you decide to go that way...

The following code in the click event method for the shape object works, but it appears to be a little slow. I would like to try out the way you are suggesting. Could you tell me where to find "Vlad's procedure" in UT KB.

Thanks a lot!

* Code in click event method of shape that covers grid
local lnRow, lnCol, lnWidth
lnRow = mrow("")
lnCol = mcol("")
lnWidth = this.width
thisform.mygrid.setfocus()
THIS.Width = 0
mouse click at lnRow, lnCol
DOEVENTS
this.width = lnWidth
thisform.mygrid.column1.text1.setfocus()
mouse at lnMRow, lnMCol
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform