Webtabpanel how to change color caption of panel?

Hello,

how i can change caption font color of webtabpanel ?

Tank very much

Maurizio

You will need some JavaScript-fu. Here is a sample project extending WebTabPanel to have a new method called TabForegroundColorAt, allowing you to use the following code:

MyTabPanel.TabForegroundColorAt(2) = Color.Green

Sample project:
WebTabPanel-TabColor.xojo_binary_project.zip (9.4 KB)

But please feel free to open a new Feature Request for having that feature bundled into the Xojo Web Framework.

5 Likes

Have an updoot for the term JavaScript-fu :stuck_out_tongue:

2 Likes