Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing a object(eg status bar) from a menu or progr
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00518525
Message ID:
00518718
Vues:
11
Stuart,

>frmMain.statusbar1.panel(1).txt = "?????"

You were close (assuming you are using the MS Statusbar control:

thisform.statusbar1.Panels(1).Text = "test"

>I also nned to know how can display text to this status bar from the menu. If i add a message for a particular menu item, it displays on the Fox status bar, but not the one on my main form.

You could use a timer to periodically poll the current _vfp.StatusBar property and copy that to your form's statusbar.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform