Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know which header is clicking in grid ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00810280
Message ID:
00810347
Views:
10
>> procedure mygrid.column1.header1.click
>> do tag_it with this.parent.parent.RecordSource, justext
>> (this.parent.ControlSource)
>> thisform.refresh()
>> endproc
>
>If I do not know how many columns at design time... how can I put that lines of code in all header click events ?

You can put that code in a Header subclass and manually add the headers when the grid is bound to its data. If you are using VFP8, use the MemberClass/MemberClassLibrary properties of the grid to skip this step.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform