Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add Statusbar ActiveX control to _SCREEN object
Message
De
03/09/1997 15:03:57
 
 
À
03/09/1997 14:00:42
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00048298
Message ID:
00048337
Vues:
76
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform