General information
Category:
Third party products
>Is there a way to dock DataDynamics "ActiveBar" to _screen instead of a form?
>
>Thanks.
>
>John
Here's how to put an ActiveBar in a main VFP window, known as _screen. The
challenge is that _screen will not accept olecontrol objects using
AddObject(). But here's how it's done. ActiveBar has been subclassed in
myframe.vcx as oleActiveBar_Frm. The rest you'll figure out from the code.
set library to sys(2004) + "foxtools.fll" additive
set classlib to myframe additive
of = createobj("form")
of.left = -2000
of.addobject("oa","myframe.oleactivebar_frm")
of.oa.load("menus\standard.tb")
mh = mainhwnd() && function in foxtools, gets hwnd of _screen
of.oa.detach
of.oa.attachex(mh)
(from the AB support group)
Previous
Next
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