Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBI Tech Listbar in Toolbar
Message
 
 
To
30/05/2018 09:42:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01660432
Message ID:
01660459
Views:
66
>>This is what I was hoping that someone would suggest; how to add the ActiveX grammatically. So, as you correctly said, the Try/Catch around the whole toolbar is useless.
>
>OK, kidding aside, the way to do it is to subclass your activeX (or rather the OLE control hosting it) and then programmatically add an instance of that. Wrapped in a nice try-catch, mustard and ketchup optional.

Thank you. I will see if I can figure out how to do it.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform