Color for Tabpanel Tabs

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.

John McCann

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.

Is on the planning.

Jan,

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.

Thanks

John McCann

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’)

Will be available in Servoy 2.0b6

Hi, adding to this one: could it be possible to hide a tab (not all tabs but one) by a method? I have tabs that I don’t want to show all the time…

Thanks
Patrick

setTabFGColorAt(1, ‘#00ff00’)
setTabBGColorAt(2, ‘#ff0000’)

After doing this, is there a way, to bring the color back to default??
(I mean the values, which are set in developer?)

The hiding of tabs was allready requested by me. :-) Jan added it to the planning.

just tried to make sure that it is not forgotten :wink:

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!

Thanks

John McCann