Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() bug?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
CreateObject() bug?
Divers
Thread ID:
00029182
Message ID:
00029182
Vues:
56
Here's an odd problem. I have the following code in the init of my form:

set classlib to libs\ccontrols.vcx additive
x=createobject("tlbNavigation",this.Name,"cars")
x.Show()

Basically, this should create my toolbar class passing it the name of the form that created it and the name of the table it controls.

Well, when I run the form nothing happens. No toolbar. But, if I type the same code in the command window it works fine. Moreover, after I create it from the command window it will work properly from within my form.

Anyone with ideas?

Michael.

Michael G. Emmons
memmons@nc.rr.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform