Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What event fires when column gets focus?
Message
From
06/06/2013 18:29:51
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01575796
Message ID:
01575801
Views:
66
>>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform