Public Sub Initialize (Callback As Object, EventName As String)
Prepare the instance before its other methods.
Original catalog note: Initializes the component and assigns the callback and event name. This is called when the component is created.
Callback As ObjectEventName As String
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
Invoked automatically by the B4A Visual Designer; do not call manually.
Original catalog note: Creates the view in the designer and sets up initial properties. This is called when the component is added to the designer.
Base As ObjectLbl As LabelProps As Map
Public Sub AddToParent(parent As B4XView, Left As Int, Top As Int, Width As Int, Height As Int)
Add this view to a parent container using the supplied bounds and options.
Original catalog note: Adds the component to a parent container with the specified dimensions. This is used to programmatically add the component to a layout.
parent As B4XViewLeft As IntTop As IntWidth As IntHeight As Int
Public Sub setCornerRadius(Radius As Int)
Update corner radius at runtime when this setting changes.
Original catalog note: Sets the corner radius of the component. This is used to round the corners of the component.
Radius As Int
Public Sub AddOption(Text As String)
Use AddOption for its named operation; follow its exact signature.
Original catalog note: Adds a single option (tab) to the TabBar. This is used to add a new tab with the specified text.
Text As String
Public Sub AddOptions(Texts As List)
Use AddOptions for its named operation; follow its exact signature.
Original catalog note: Adds multiple options (tabs) to the TabBar. This is used to add multiple tabs at once using a list of texts.
Texts As List
Public Sub Show
Use Show for its named operation; follow its exact signature.
Original catalog note: Displays the component in the UI. This is called to render the component after adding options.
Public Sub setActive(Number As Int)
Update active at runtime when this setting changes.
Original catalog note: Sets the active tab by index. This is used to programmatically set the active tab.
Number As Int
Public Sub setActive2(Text As String)
Update active2 at runtime when this setting changes.
Original catalog note: Sets the active tab by text. This is used to programmatically set the active tab using the tab's text.
Text As String
Public Sub setActiveColor(Color As Int)
Update active color at runtime when this setting changes.
Original catalog note: Changes the color of the active tab. This is used to customize the appearance of the active tab.
Color As Int
Public Sub setTextColor(Color As Int)
Update text color at runtime when this setting changes.
Original catalog note: Changes the text color of inactive tabs. This is used to customize the appearance of inactive tabs.
Color As Int
Public Sub setTextSize(sizee As Int)
Update text size at runtime when this setting changes.
Original catalog note: Changes the text size of the tabs. This is used to customize the font size of the tab text.
sizee As Int
Public Sub setFonts(setfont As B4XFont)
Update fonts at runtime when this setting changes.
Original catalog note: Changes the font of the tab text. This is used to customize the font style of the tab text.
setfont As B4XFont
Public Sub setAnimationTime(MilliSecond As Int)
Update animation time at runtime when this setting changes.
Original catalog note: Changes the duration of the animation. This is used to customize the speed of the tab switching animation.
MilliSecond As Int
Public Sub setBackgroundColor(Color As Int)
Update background color at runtime when this setting changes.
Original catalog note: Changes the background color of the component. This is used to customize the background color of the TabBar.
Color As Int
Public Sub setBorderColor(BorderColor As Int)
Update border color at runtime when this setting changes.
Original catalog note: Changes the border color of the component. This is used to customize the border color of the TabBar.
BorderColor As Int
Public Sub getSize As Int
Read the current size value for validation or UI synchronization.
Original catalog note: Returns the number of tabs in the component. This is used to get the total count of tabs.
Returns: Int
Public Sub getTexts As List
Read the current texts value for validation or UI synchronization.
Original catalog note: Returns the list of texts for the tabs. This is used to retrieve the text of all tabs.
Returns: List
Public Sub Elevation(TabElevation As Float, color As Int)
Use Elevation for its named operation; follow its exact signature.
Original catalog note: Sets the elevation (shadow) of the view
TabElevation As Floatcolor As Int
Public Sub SetTabGlow(Index As Int, Radius As Float, GlowColor As Int)
Use SetTabGlow for its named operation; follow its exact signature.
Original catalog note: Applies a glowing shadow effect to a specific tab label by its index (0-based)
Index As IntRadius As FloatGlowColor As Int