The TAdvOfficePage has wonderful rounded Tabs on top that i wont miss
but i can only use the ColorTheme that was given for the Backgroud of every Page.
My Customer want his own Colors for the Background.
I want to have a seperate TForm with Components and Unit for every Tab.
Can i set my Form in the Tab-Canvas?
Or is there an alternative Component like the TAdvOfficePage that looks so nice but can use TForms for its TabForm Elements?
At this moment, a TAdvOfficePage has no built-in logic to directly work with embedding a form. You'd need to add this code at application level to load a form into the TAdvOfficePage.
Do I understand correct you want to a different tab background color for different TAdvOfficePage instances? If so, you can do this via the properties under AdvOfficePage.TabAppearance
The TabAppearance are only for the Top Tab-Element, i know this but i want to color the Formpanel of the Tab.
Could you show some code to integrate a Form in the Tab-Form Element that would be great. Thank you
Add a TAdvOfficePagerOfficeStyler component and attach it to AdvOfficePager.AdvOfficePagerStyler.
Then set its style to psCustom and control colors via TabAppearance.Background
To add a form in a page
EmbeddedForm := TForm.Create(Self);
EmbeddedForm.Parent := AdvOfficePage1
The AdvOfficePagerStyler solve my problem with the Colors.
Now i have to test what the many colors for and how to deal with the mirror color to not mirroring. (only one gradient from top to down)
The TabAppearance is for the TabColor for the Top-Tabs.
The PageAppearance is for the Color of the Form or Page below.
The embedding of a Form in the Page i will test next.
Your Answer was very helpfull.
Set Mirror colors to clNone if you do not want this effect.
Thats the look if i set the MirrorColors to clNone.
The second half of the Page is white.
What i want is to make the Gradient from top to End of the Page.
We could trace & solve this issue. The next update will address this.
Should i do somthing spezial to get a full page in green to blue?
Setting ..Mirror to clNone dont change anything.
This are my settings:
there was a new Version today, and now it works.
Wonderfull and Thanks for helping.
I like TMS