Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Status Bar for a Top Level Form
Message
De
22/12/1998 16:43:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00169785
Message ID:
00169844
Vues:
27
>>>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.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform