Information générale
Catégorie:
Produits tierce partie
>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)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement