Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically adding a class to a form
Message
 
 
To
30/10/2006 10:09:31
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01165430
Message ID:
01165503
Views:
13
This message has been marked as the solution to the initial question of the thread.
Steve,

I think you are not using the correct name of the subclass that is in the classlibrary. It should be something other than "combobox" which is the name of the VFP baseclass object from which your subclass will be derived. When you do a MODIFY CLASS ? and pick the classlib, the subclass names will all appear in the listbox on the right part of the dialog, that's what you should specify in the NewObject()/AddObject() call.

>Well, I'm getting a combobox but not the saved combobox class from the class library. Any solutions?
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