Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status Bar for a Top Level Form
Message
 
To
23/12/1998 08:41:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00169785
Message ID:
00170151
Views:
38
>>>>>>I am working on an app that will begin with a top-level form. Is the graphical status bar not accessible for a top-level form is the main VFP screen is supressed (SCREEN=OFF)?
>>>>>>
>>>>>>If that is the case, is there another class/control that can be used to display VFP status bar text at the bottom of a top-level form?
>>>>>>
>>>>>>Happy Holidays!
>>>>>
>>>>>You can use Active-x Status Bar control (Tools/Options/Controls)
>>>>
>>>>OK, this is where I get to act like a complete newbie to VFP. I added SBarCtrl to my topform from the Component Gallery; it now shows on the form as 'app_topform.olecontrol1'
>>>>
>>>>When I select "SBarCtrl Properties" from the menu, I am lost. And, unfortunately, the Help topic for this control is not working. So, here is the stupid question...how do I get the VFP Status text to appear in the first pane of the control? How do I add something like "Inser/Overwrite" mode to a second pane?
>>>>
>>>>Thanks in advance. As was mentioned earlier, this forum is incredible in its depth of knowledge and willingness to help!!
>>>
>>>After you drop OLEStatusBar on your form, you may use following:
>>>thisform.oleStatusbar.panels.add && to increase number of panels
>>>thisform.oleStatusbar.panels(1).text="qwe1" && set text in the first panel
>>>thisform.oleStatusbar.panels(2).text="qwe2" && set text in the secon panel, etc.
>>
>>Where does this code go? Or, better yet, how do I add this to the "SBarCtrl Properties" popup from the Class Designer? And what is the significance of "qwe?"
>>
>>::scratching head::
>>
>>Thanks!
>
>These commands allow you to customize Status Bar: increase number of panels and put appropriate text (not necessarily 'qwe') there. I have a concern that we have different ActiveX, I use VFP5.

Edward, thanks for your patience on this one :)

I am using the Microsoft Status Bar, Ver 6.0 from the ActiveX controls provided with VFP 6 (it comes from comctrl.ocx in the win/system directory, I think - but I am away from my PC for a few days and dont recall the exact filename). It has a properties sheet that is accessible from the class designer. It doesthe same things you describe....setting the number and widths of panes, and has six built in functions for time, date, caps lock, etc.

I am trying to find a way to display the native VFP status text messages assigned in the menus, form controls, etc.

Or....is there a better status bar to use?

TIA
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Previous
Reply
Map
View

Click here to load this message in the networking platform