I would like to be able to change the color of a tab in a tabpanel if the data for that tabs form is incomplete or contains critical information.
It would be very useful if the tabs on the tab panels could be adressed as elements in methods so that one could programatically control the color of the tabs.
idoctor:
I would like to be able to change the color of a tab in a tabpanel if the data for that tabs form is incomplete or contains critical information.
Not possible due to LAF API (Apple/SUN)
idoctor:
It would be very useful if the tabs on the tab panels could be adressed as elements in methods so that one could programatically control the color of the tabs.
I think it would be a very useful function, if you can figure out a way to color those tabs. It is a very nice way of signalling that the form that underlies the tab requires some attention (has fields that require data,has critical data…) I have taken note that you guys have come through with everything else you have told me you are planning. Keep it up.
After relooking it up I concluded that it is possible after all in the API…the following methods are added on a tab panel:
setTabFGColorAt(1, ‘#00ff00’)
setTabBGColorAt(2, ‘#ff0000’)
I used the new command for coloring the individual tabs. Works great. I use it to let the user determine if all required data under a tab has been entered. I am sure others will find many other uses for it. A great addition!