Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for header click in a grid
Message
 
 
To
29/07/2003 12:12:38
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00814471
Message ID:
00814639
Views:
11
>>The point here is bind the click event of the header to some method in your grid or form, then put your code in that grid or form method.
>
>Got the idea. Didn't know about the BindEvend() function. Did what you said it it worked (put "Procedure grdTestGrid.Init" and "Procedure OnHeaderClick" in the from definition).
>
>>Now just add a OnHeaderClick method to your grid class.
>
>Let me, please, ask you how to get the name of the column (or header) that when clicked fired the OnHeaderClick method?

PROGRAM(PROGRAM(-1) - 1)

would return the calling program.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform