General information
Category:
ActiveX controls in VFP
>>>How do I add an ActiveX control such as DBI Tech's ctListBar to the VFP desktop? Trying _screen.addobject() doesn't do it and it seems pointless to have to add this control to a form and show the form on the desktop.
>>
>>Have you created a class with the ActiveX object in an OLE container? All ActiveX in VFP have to be in the OLE container... as far as I know.
>>
>>BOb
>
>I am using the control in a toolbar object.
>
>Marcel
Ah... that explains it... the _screen can't contain a toolbar.
Try...
oToolBar = createobj('MyToolBar')
oToolBar.Show()
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only