Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access form - add text to status bar

Status
Not open for further replies.

Rousseau10

Programmer
Feb 22, 2005
242
US
I want to add text to status bar from code.
I was looking for, (in an access form)
me.statusbartext, I know this property exists but how do I set it?
 
Rousseau.

Code:
Application.StatusBar = "Please be patient..."
 
put it in whatever event you'd like to kick it off:
Code:
Me.StatusBarText = "My text"
See StatusBarText Property in Access help.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
I'm not sure what you mean by statusbar, two things come to mind, the title bar at the top, which you can address through:

[tt]me.caption = "my new form title"[/tt]

or the Access statusbar, which you can play with using syscmd

[tt]varreturn=syscmd(accsyscmdsetstatus,"this is a test")[/tt]

arguements for InitMeter, RemoveMeter, UpdateMeter...

Or are you thinking of using the statusbartext property of controls? That would be displayed whenever a control has focus, but I don't think there is one for forms. Hint - what you put in the description part in the table design view, will usually be displayed in the statusbar when a control has focus (inherited to forms).

(hmmm - application.statusbar, is that Access? Is it perhaps present in 2003?)

Roy-Vidar
 
Also TextBox > Properties > Other Tab > StatusBar Text

Zameer Abdulla
Jack of Visual Basic Programming, Master in Dining & Sleeping
Visit Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top