Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A reference to the current column in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147795
Message ID:
00148004
Views:
37
Jim:

Using the AfterRowColChange, is about the same of the ActiveColumn problem, that method only gives you the nColIndex which is numeric, and if the user changed the column order your'e back to the same old problem.
What I did is: I programmed the keypress of the textboxes in every column and did:

myform.mygrid.setfocus()
keyboard '.'

the keyboard method had these code lines:
if nKeyCode=46
thisform.oColumn=this.parent
endif
Jorge Flores
From the Amigo Country
Previous
Reply
Map
View

Click here to load this message in the networking platform