Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add Statusbar ActiveX control to _SCREEN object
Message
From
03/09/1997 15:03:57
 
 
To
03/09/1997 14:00:42
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00048298
Message ID:
00048337
Views:
81
Hi Edward!

I did tried _screen.addobject() as follows:

_SCREEN.ADDOBJECT('OCXTest', 'OLEControl', 'COMCTL.SbarCtrl.1')

But VFP said, that that Object class is invalid for this container.
The two main reasons is to change the default statusbar, is that:
1. I hate that VFP displays the active table, record and exclusivity
2. I want to display different type information side by side on statusbar in different font types.

Do you have any advice?

TIA

BB





>>Hi everybody!
>>
>>Does anybody has any suggestion to me, how to add StatusBar ActiveX control to _SCREEN ? (Instead of the original one?)
>>My purpose is, to add bitmaps, and to write text in different Fonttypes than the original, besides to use it for the default purpose)
>>I have never added nothing to _SCREEN, so I am unfamiliar with it.
>>
>>TIA
>>
>>BB
>
>
>Bela:
>
>For what purpose are you going to use the progress bar for, Query results? If you just what to use it for your own purposes and just whant to display it to screen use _SCREEN.ADDOBJECT(objName, objClass). You can do anything with _SCREEN that you can do with your form. Just use _SCREEN. instead of frmFormName.
>
>Ed
Previous
Reply
Map
View

Click here to load this message in the networking platform