Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Click Events to Grid Headers
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00301307
Message ID:
00301316
Views:
34
Jeff,

Use a header class. For example;
DEFINE CLASS MyHeader AS Header

PROCEDURE Click
 * Whatever code you want
ENDPROC
ENDDEFINE

Then in your grid construction code you can;

WITH This
   .AddObject("Column1","Column")
   WITH .Column1
      .RemoveObject("Header1")
      .AddObject("Header1","MyHeader")
   ENDWITH
ENDWITH
Of course your code would be a little more complex than this but it should get you going.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform