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


Thanks for the info! ...I didn't see the support site the first time I visited. BTW - I posted a message there regarding the standard Edit tools copy,cut,paste etc. I can't get these to work. All I've done is created a popup menu which is a submenu of another menubar. the popup menu contains the Edit tools from ActiveBar's standard Edit menu. The shortcut keys work ctrl+ but the popup containing the Edit tools does not. Any ideas for me? How do you like the ActiveBar. Any major problems or hurdles?

Thanks again for your response!

John.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform