Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newobject does not instantiate
Message
 
 
À
24/01/2006 21:33:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000
Database:
Visual FoxPro
Divers
Thread ID:
01089994
Message ID:
01089999
Vues:
12
>Greetings all
>
>I am creating a message from a message class that uses a label as a base class. When I instantiate the class, it does not display on the form. Here is the code I use:
>
>   LOCAL oGrdHeader as Object
>   oGrdHeader = NEWOBJECT("clsGrdHeading","msgClasses.vcx")
>   oGrdHeader.caption = "Packing Slip Items"
>   oGrdHeader.top = 50
>   oGrdHeader.visible = .T.
>
>
>Any ideas why this does not display??
>Thanks in advance
>
>Vince

You better add this object to the form. E.g. thisform.NewObject("myLabel", "myClass", "myClasslibrary")
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform