Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Toolbar Base Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00229262
Message ID:
00319385
Views:
13
>>if type('this.toptoolbar') != 'O'
>> set classlib to toolclass
>> this.toptoolbar = createobject('toptoolbar')
>> release classlib toolclass
>>endif
>>
>
>Or, in VFP6, NEWOBJECT() can instantiate an object from a class from without having to add it to your SET CLASSLIB list:
>
>this.toptoolbar = NEWOBJECT('toptoolbar','toolclass')

This is an old thread, isn't it? That was vfp5 code - but that's a good idea you have.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform