Alcinoe icon indicating copy to clipboard operation
Alcinoe copied to clipboard

TALTabControl - TAB is not visible

Open maurobotta opened this issue 1 year ago • 6 comments

Hi

I'm testing a TALTabControl -> TALTabItem, i can't know how view "TAB" ( Android / IOS / Win ).

Last version of Alcinoe.

Delphi 12.2

Mauro

maurobotta avatar Oct 18 '24 10:10 maurobotta

What you mean by view "TAB" ? you mean this :

image

Zeus64 avatar Oct 18 '24 10:10 Zeus64

YES

maurobotta avatar Oct 18 '24 10:10 maurobotta

Ah, no, TALTabControl doesn't include that feature. There are so many different possible styles for tabs—such as displaying them on the left, at the top, as images, text, etc. (see: https://m3.material.io/components/tabs/guidelines)—that I've chosen not to include the tabs in TALTabControl. Instead, developers can add their own buttons or elements to represent the tabs as they see fit.

TALTabControl is mainly to do stuff like this :

image

image

Zeus64 avatar Oct 18 '24 10:10 Zeus64

@Zeus64 Thank you, another question , How i can Active Material 3 Controls ( Design ) ?

FMX TStyleBook remove it ?

image

image

maurobotta avatar Oct 18 '24 10:10 maurobotta

@Zeus64, How can to have TALEdit with MAT3 design ?

Thank you for yor work :)

maurobotta avatar Oct 21 '24 08:10 maurobotta

You don't need FMX TStyleBook, none of the alcinoe control work with it. in delphi, you right click on a TEdit, and you choose the material 3 design style you want in the popup list

theme

Zeus64 avatar Oct 21 '24 09:10 Zeus64

How then do you activate Material 3 Controls (at Runtime). I have a series of checkboxes that are created at runtime and I need them to have the Material 3 Theme. Thank you.

Elinulok32 avatar Feb 14 '25 12:02 Elinulok32

Hello, At runtime you need to play with Alcinoe.FMX.Themes.pas inside you have the function ALApplyCheckBoxTheme

just execute it on your checkbox like :

ALApplyCheckBoxTheme('Material3.Light', MyCheckBox);

you can also write your custom theme if you want

Zeus64 avatar Feb 14 '25 13:02 Zeus64