Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing a object(eg status bar) from a menu or progr
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00518525
Message ID:
00518718
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform