Variables in tabpanel header ?

Hello Everbody

Servoy 6
I have a form (recordview) with a tabpanel that shows detail records related to the selected record.
My tabpanel contains 3 forms.

Now i want to show the number of related records in the tabpanel header(text) for each form.

Example:
Main record
name,zip,city,…

Orders (12) Offers(30) Open Invoices(2)

Is there a way to put variables into the tabpanel header?

Is there a way to manipulate the default colors of a tabpanel (white = aktiv, blue = inaktiv).
My users dont like this.
I want to set different colors.

Best regards
Albert

abeermann:
i want to show the number of related records in the tabpanel header(text) for each form.

In the text property of the tab you can use tags to show field values and also the number of records. The text property should then be something like this:

Orders (%%main_to_orders.maxRecordIndex%%)

abeermann:
Is there a way to manipulate the default colors of a tabpanel (white = aktiv, blue = inaktiv).

Maybe this project on ServoyForge does what you want: Overview - Alternative CSS for webclient - ServoyForge

Another option is to use a tabless tabpanel (set the tabOrientation to “HIDE”) and create your own buttons that set the tabIndex:

elements.yourtab.tabIndex = x;

Hello Joas

Working as expected!
Thank you.

Regards
Albert