[Solved! Thanks Guys] Tabcontrol/TabButton
Posted: Wed Feb 13, 2008 09:12
Hi, And Thanks For Taking The Time To Read...
I'm working on a project, an instant messenger / chatbox deal in the program I working on. I have created the box, and I have a TabControl, and some default windows which get added to the TabControl through ->addTab. In the .layout file, I specify the Property Text, with the value that appears as the caption of that tab button. Now, when a message arrives, I want to notify the user on which tab they need to pay attention to. I'd like to do this by perhaps blinking the tab control, or by changing it's text color.
Right now, I have it alert the user that a message has arrived by using setText to alter the text of the Tabbutton to contain a trailing *, but this is both ungraceful, and tacky. If there is a better, more elegant solution, (or a completely different concept of how to do this) it would be much appreciated.
Thank you for your time, and I look forward to your response,
Erebus.
I'm working on a project, an instant messenger / chatbox deal in the program I working on. I have created the box, and I have a TabControl, and some default windows which get added to the TabControl through ->addTab. In the .layout file, I specify the Property Text, with the value that appears as the caption of that tab button. Now, when a message arrives, I want to notify the user on which tab they need to pay attention to. I'd like to do this by perhaps blinking the tab control, or by changing it's text color.
Right now, I have it alert the user that a message has arrived by using setText to alter the text of the Tabbutton to contain a trailing *, but this is both ungraceful, and tacky. If there is a better, more elegant solution, (or a completely different concept of how to do this) it would be much appreciated.
Thank you for your time, and I look forward to your response,
Erebus.