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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Button and Status Bar Text

Status
Not open for further replies.

crewchiefpro6

Programmer
Mar 22, 2005
204
US
I am having a problem getting the Status Bar text to change for the command buttons on my form. Whenever they have focus there is no information in the status bar even though I have information in the event. The status bar text works fine for all my other controls.

What am I missing?

Don Higgins
 
Why you not use ToolTipText property?
If you want to use this don't forget to set ShowTips property of the Form to .t.


Borislav Borissov
 
The tool tips show up when the mouse hovers over it.

This is not part of a command group, it is just a normal command button, and not subclassed. I can click to another control and return with the enter key but still no statusbar text even though the other controls have it.



Don Higgins
 
Are these plain vanilla buttons or are they based on one of your classes?

I must confess I had similar problems with the Status Bar last year but rather than struggle to resolve the problem I put a status bar onto each form and controlled it from GetFocus and LostFocus.

Geoff Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top