Theme and Style

OS: Debian 10 LXDE 64bit
Lazarus 2.0.12
FPC 3.2.0

TMS FNC Core 2.5.1.0
TMS FNC UI Pack 3.3.1.0

Can I get an example of proper use
Ribbon theme and style

TMSFNCRibbon1.Theme
TTMSFNCRibbonTheme = (rbtLightBlue, rbtBlue, rbtCrimson, rbtGreen, rbtSeaGreen, rbtOrange, rbtPurple, rbtDarkGray, rbtBlack, rbtWhite, rbtCustom);

and

TTMSFNCStyle_FNC_Dark.style
TTMSFNCStyle_FNC_Default.style
TTMSFNCStyle_FNC_Light.style
TTMSFNCStyle_FNC_Office2019Black.style
TTMSFNCStyle_FNC_Office2019Gray.style
TTMSFNCStyle_FNC_Office2019White.style

I would like to use this together.

You can set the style first and the force the theme property afterwards. You can programmatically load a style as shown in the other post.

I think you suggest this:

TForm1 = class(TTMSFNCRibbonForm)

....

procedure TForm1.FormCreate(Sender: TObject);
begin
TMSFNCStylesManager1.LoadStyleFromFile('TTMSFNCStyle_FNC_Office2019Gray.style');
BorderIcons:= [biSystemMenu, biMaximize, biMinimize];
end;

After this I have the next problem, the place where I select the mouse

You mean, the click position? does clicking the page tab not change the correct page?

I think blue is not in the default style.
FNC_Office2019Gray not gray selected

No, the ribbon has it's own theme color. the fnc styles do not include these colors.

There is something illogical about it.

TMSFNCRibbon1.Theme := rbtLightBlue;

When you start the program, the styles change but not completely.

Can you force style loading in the constructor of the form for full effect.

can you give me an example of how to do this

just set the Theme property again in the constructor of the form:

TMSFNCRibbon1.Theme := rbtLightBlue;

I want to get the same style and ribbon and other components.
I show by example that he does not apply the same style.

Style Button 1 Style button 2

Button 1 and Button 2 do not have the same background, which means they cannot set the same style in combination with Ribbon and other components.

The ribbon has its own style. It is integrated into the styling mechanism but doesn't use the exact same colors. We'll look into this and see if we can add a different style for the ribbon buttons. Please note that the ribbon buttons are not the same as the tool bar buttons.

I wanted to show that, there should be one style on one form.

I think that's what it's showing here

Yes, with the styles that are available you can do this:

{$R 'TMSFNCStylesResources.res'}

procedure TForm10.FormCreate(Sender: TObject);
begin
  TMSFNCStylesManager1.StyleResource := 'FNC_Light';
end;

It will change the TTMSFNCRibbon to match the global color of the style, but the style from the ribbon will slightly differ comparing to other controls. This is by design