Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Class does not work!!
Message
 
 
À
24/09/2009 10:42:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01425933
Message ID:
01425935
Vues:
97
>I have created a custom class container object that when I place on a form programmatically using Newobject(ObjName,Class, ClassLib) the object has no functionality, but when I drag the object from the Project Manager onto the form the object that was dragged has functionality as does the one that was added programmatically. How can I get the object added programmatically to function without having to manually add the object also?
>
>Thanks in advance for any and all help!
>
>Ken Saldate
>iSOFT Systems LLC

Can you show some code of adding this object programmatically?

Do you add thisform.NewContainer.visible = .T. at the end of your adding class code? By default all objects added programmatically are added with visible = .F.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform