Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() bug?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
CreateObject() bug?
Miscellaneous
Thread ID:
00029182
Message ID:
00029182
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform