Information générale
Catégorie:
Contrôles ActiveX en VFP
>Hi all,
>
>How can I set the text prop of one of the 4 panels that I have in the status bar control (class MSComctlLib.SBarCtl.2, I've renamed the control "OleStatusBar") ?
>
>I've try this:
>
>(in the init event of the form)
>oSbr=This.OleStatusBar
>* now i want to change the test of panel 1
>oSbr.Panel(1).Text = "PLUTO"
>
>but this syntax gave an arror.
>What's the correct way to reference and set a prop for status bar activex ?
>
>Someone can point me to an information source about this control ?
Hi Dino,
Use :
oSbr.Panels(1).Text = "PLUTO"
instead - Panels instead of Panel.
Best.
Matt.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement