Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with an ActiveX component toolbar
Message
 
To
12/08/1998 10:58:15
Koos Veel
Gamma Research
Aruba
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00126043
Message ID:
00126046
Views:
24
I don't know anything about ActiveBar and can't comment on it directly but my suggestion would be to create your own toolbar class based on the VFP toolbar baseclass. A VFP toolbar can never receive focus so your active form will not lose focus when clicking on the toolbar. HTH

>Hello,
>
>We are writing applications in Visual FoxPro 5.0 and use the ActiveBar toolbar as an ActiveX component.
>
>We would like to open several forms and when a form is focused we would like to have the toolbar change according to the
>form (some buttons get enabled and other disabled). At the moment we have the problem when we click on a button on the toolbar the focus is lost from the form and the toolbar has the focus. And thus the toolbar methods cannot refer to the form that had the focus.
>
>Can anybody help us with this problem?
>
>Thanks in advance!
>
>Greetings,
>Michiel Willems
>Gamma Research Inc.
>
>Using the account of Koos Veel
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform