Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a line of code to dblclick of 52 cells in a grid
Message
De
21/02/2008 13:59:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01294893
Message ID:
01294907
Vues:
20
>>Hi
>>
>>I want add a line of code programmatically into the dblclick of 52 columns of my grid.
>>
>>Can anyone point me in the right direction?
>>
>>Many thanks in advance
>
>Check BINDEVENT:
>
>FOR EACH oCol IN thisform.Grid1
>    BINDEVENT(oCol,[DblClick], thisform,[ManageDblClick], 1)
>NEXT
>
>*** Create a method in the form named ManageDblClick and put your code there
>
>
>Other way is to create your Own Column Class and use it in the grid.

Much clearer than my explanation. Thanks Borislav.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform