Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add Statusbar ActiveX control to _SCREEN object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00048298
Message ID:
00048471
Vues:
31
>Hi Edward!
>
>Thanks your answer! I am not familiar with toolbars.
>Is it possible, if I position the toolbar to the bottom of _SCREEN, that user cannot move it away?
>
>BB
Bela,

Create an OLEControl class (name OLEStatus) and put the status bar ocx in it. Then just

_screen.addobject("OLEStatus","OLEStatus")
_screen.OLEStatus.Top =
_screen.OLEStatus.Visible = .T.

You can then refer to the status bar with _screen.OLEStatus or _screen.OLEStatus.Object You need the Object keyword if you are accessing a property or method for which both the statusbar and the container use the same name.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform