Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Display widgets Tip on StatusBar
Display widgets Tip on StatusBar [message #38987] |
Mon, 04 February 2013 18:52 |
frozen
Messages: 13 Registered: January 2013
|
Promising Member |
|
|
Hello guys!
I have some problems to display Tips from several widgets on the StatusBar when they get the focus.
The search pointed me to this thread:
EditString and custom msg on status bar
So I created the following:
void MyApp::ChildGotFocus()
{
Ctrl *curCtrl = GetFocusCtrl();
if( curCtrl->GetTip().GetLength() > 1 )
status.Set( curCtrl->GetTip() );
}
void MyApp::ChildLostFocus()
{
status.Set("Ready");
}
status is my StatusBar.
This works for EditDouble and EditDoubleSpin, but not for DropList and Option.
How can I have the Tip on the StatusBar for these widgets (or even better: for any widget that has a Tip)?
Thank you very much!
frozen
|
|
|
Goto Forum:
Current Time: Sat Jun 01 06:52:51 CEST 2024
Total time taken to generate the page: 0.01376 seconds
|