Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Viking on February 07, 2025, 08:37:03 pm
-
Hi,
(1)
can I assign colors via Add-In to Tabs in the TabPages EA uses to show the diagrams?
(2)
can I assign colors to a Custom Tab I insert via Add-In in the TabPages?
I tried this, but it does not work:
var customView1 = new <myUI>();
var tab1 = new TabPage("<myUIName>");
tab1.ForeColor = Color.LightYellow;
tab1.Controls.Add(customView1);
tabControl1.TabPages.Add(tab1);
V.
-
You can't control the tabpages from EA.
What you can do is within your user interface create your own tabcontrol and color those.
Geert
-
You can't control the tabpages from EA.
Thanks @Geert