Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active bar docking
Message
De
08/01/1999 19:46:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00174032
Message ID:
00174255
Vues:
28
>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
Fil
Voir

Click here to load this message in the networking platform