Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Createobjects from classes defined in external .prg
I'm wondering how i can make this work.
How do i create an object whose class is defined in a myclass.prg
from within an other .prg
example
I've defined a cmdgroup with four buttons in a say mycmdgroup.prg
I want to add this mycmdgroup class to a form i defined in myform.prg
I also create the form within myform.prg with ox = createobject("myform")
How do i make ox.addobject("cmdgroup1","mycmdgroup") work
This may sound a little bit academic but i hope it helps me understand more of foxpro.
tia, victor
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