Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Microsoft status bar control 6
Message
From
02/08/2000 06:59:15
 
 
To
02/08/2000 06:25:30
Dino Liberale
Ministero Lavori Pubblici
Trieste, Italy
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00399761
Message ID:
00399765
Views:
24
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform