Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the column in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00767816
Message ID:
00767843
Views:
12
Never mind. I feel stupid.

I was assuming (you know what that means) that the ColumnOrder property value did not change dynamically. It does. That allows me to search through the columns collection to find the column object with the matching ColumnOrder.
FOR EACH colItem IN This.Columns
    IF colItem.ColumnOrder = This.ActiveColumn THEN
        chrCurrentFieldCaption = colItem.Header1.Caption
    ENDIF
ENDFOR
John
John Groft
Consultant
Computer Task Group, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform