Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form.Grid.Header.Click()
Message
 
 
To
10/07/1999 00:34:37
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00239710
Message ID:
00239820
Views:
19
Tim,

You can't put a header (or Page, Column, OptionButton) classes in a classlib. You have to leave it in the .prg and SET PROCEDURE TO MyHeaderClass.prg ADDITIVE before you try to use it the first time. You can put the code into a method of your grid class.

>Thanks for the post! my test.prg now displays a grid with click-able headers. Now, tell me how to store and use the new class that I have created. How do I create a class library from a procedure file (.PRG)? and how do I reference the class from within a form? Sorry for asking what must be an elementary question but I can't seem to find the answer in the doc's...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform