Hi Erik,
What I was looking for was a way to access the class to change properties programmatically. I found it in _screen.forms[something], but was wondering is a better way exists?
Thanks
Rex
>MODIFY CLASS MyClass OF MyClassLibrary.vcx
>
>>Hi Mike,
>>
>>Craig Berntson showed me the CREATE CLASS command which works great. The only problem I have now is how to reference the newly created class.
>>
>>Any ideas
>>
>>Rex
>>
>>>Hi Rex,
>>>
>>>>I it possible to have a builder create classes in the Class Designer?
>>>>If so, what is the syntax?
>>>
>>>Learn the Define Class command. Then you can write out strigns of syntax by vareiables to a class.prg file . Now you will have your class. Note: you cannot create ot visually, or store it in a VCX, yuo will have to do a SET PROCEDURE TO class.prg.
>>>
>>>To help you learn DEFINE CLASS better, I suggest you open an existing visually designed class int he class browser and click on view source code. Then you can cut and paste and use that as a template.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement