Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status Bar
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00329028
Message ID:
00329110
Views:
22
>Hellos all.
>I have a statusbar on my system, this one has severals panel, for each I have diferent message.
>* In the first one I want to put some description about the process.
>In the second one I want to put a pregress bar.
>* This could change, acording with the option.
>How could I do it.
>TIA.

You may already know this, but you can set almost everything on the Panels page at runtime:

thisform.oStatusbar.sbar.panels(1).text = 'Description of process here'
thisform.oStatusbar.sbar.panels(2).text = REPLICATE('|',ntimes)

will give you the text and a simulated progress bar (if you get the idea). I just make them into top-level methods for each panel/situation, and pass them parameters as needed...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform