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:
00147802
Views:
43
Jim:

That doesn't seem to work, as far as I know and tested ActiveColumn is a property that holds the column number, so this.parent.myGrid.ActiveColumn.Name
returns a syntax error. Any other option?

>
>Yeah, don't use the column number, use its name instead;
>
>
>
>this.parent.myGrid.setfocus()
>lcColumn=this.parent.myGrid.ActiveColumn.Name
>loColumn=EVALUATE("this.parent.myGrid." + lcColumn)
>*--Now I have a reference to the column
>
>
Jorge Flores
From the Amigo Country
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform