Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What event fires when column gets focus?
Message
De
06/06/2013 18:29:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01575796
Message ID:
01575801
Vues:
60
>>>Hi everybody,
>>>
>>>Do you know what event fires when we enter a grid's column?
>>>
>>>If it's BeforeRowColChange then how can we know the name of the column we're about to enter?
>>>
>>>Thanks in advance.
>>
>>
>>It can be Before or AfterRowColChange depending on the direction of movement.
>>
>>nColIndex gives you the grid column. Unless you have bound fields per column, you can use FIELD(nColIndex) to get the field name.
>
>Can you show some code?
>
>E.g. how can I check the column's name based on the Index?


I'm not at my computer. Try in afterRowColChange:
lcField = FIELD(nColIndex)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform