Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name of a grid column
Message
From
27/03/2006 11:36:46
 
 
To
27/03/2006 11:29:39
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01107983
Message ID:
01108005
Views:
21
Hmmmm. Your question had to do with "the column name of an active cell in a grid".

Within one of the methods for that cell, you'd use
this.parent.name
Otherwise, if you had a variable name loCell referencing that cell, you'd use
loCell.parent.name
Jim


>Thanks, James,
>
>However, for the code:
>gridcolumnname = thisform.pageframe1.page2.grid1.Parent.name
>I get "Page2"
>I need to get the column name.
>
>Any suggestions?
>
>Thanks!
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform