Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status Bar for a Top Level Form
Message
From
23/12/1998 08:41:26
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00169785
Message ID:
00169941
Views:
18
>>>>>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 Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform