UE2:GUITabControl (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUITabControl
Package:
XInterface
This class in other games:

GUITabControl - This control has a number of tabs

Written by Joe Wilcox (c) 2003, Epic Games, Inc. All Rights Reserved

Updated by Ron Prestenback

Properties

Property group 'GUITabControl'

ActiveTab

Type: GUITabButton

Modifiers: editconst, noexport


BackgroundImage

Type: Material


BackgroundStyle

Type: GUIStyles

Modifiers: editconst, noexport


BackgroundStyleName

Type: string


bDockPanels

Type: bool

If true, associated panels will dock vertically with this control

bDrawTabAbove

Type: bool

If true, tabs are drawn above the tab panels

Default value: True

bFillBackground

Type: bool


bFillSpace

Type: bool

Tab buttons should be resized if cumulative width is smaller than WinWidth

FadeInTime

Type: float


FillColor

Type: Object.Color


MyFooter

Type: GUIBorder

Modifiers: editconst, noexport


PendingTab

Type: GUITabButton

Modifiers: editconst, noexport


TabHeight

Type: float


Default value: 0.08

TabStack

Type: array<GUITabButton>

Modifiers: editconst, noexport


Default values

Functions

Events

Closed

event Closed (GUIComponent Sender, bool bCancelled)

Overrides: GUIMultiComponent.Closed


FocusFirst

event bool FocusFirst (GUIComponent Sender)

Overrides: GUIMultiComponent.FocusFirst


FocusLast

event bool FocusLast (GUIComponent Sender)

Overrides: GUIMultiComponent.FocusLast


Free

event Free ()

Overrides: GUIMultiComponent.Free


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


MakeTabActive

event MakeTabActive (GUITabButton Who)


NextControl

event bool NextControl (GUIComponent Sender)

Overrides: GUIMultiComponent.NextControl


NextPage

event bool NextPage ()

Overrides: GUIComponent.NextPage


Opened

event Opened (GUIComponent Sender)

Overrides: GUIMultiComponent.Opened


PrevControl

event bool PrevControl (GUIComponent Sender)

Overrides: GUIMultiComponent.PrevControl


PrevPage

event bool PrevPage ()

Overrides: GUIComponent.PrevPage


SetVisibility

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions

ActivateTab

function bool ActivateTab (GUITabButton Who, bool bFocusPanel)


ActivateTabByName

function bool ActivateTabByName (string tabname, bool bFocusPanel)


ActivateTabByPanel

function bool ActivateTabByPanel (GUITabPanel Panel, bool bFocusPanel)


AddTab

function GUITabPanel AddTab (string InCaption, string PanelClass, optional GUITabPanel ExistingPanel, optional string InHint, optional bool bForceActive)


AddTabItem

function GUITabPanel AddTabItem (GUI.GUITabItem Item)


BorrowPanel

function GUITabPanel BorrowPanel (string Caption)


CenterMouse

function CenterMouse ()

Overrides: GUIMultiComponent.CenterMouse


FindPanelClass

function GUITabPanel FindPanelClass (class<GUITabPanelPanelClass)


InsertTab

function GUITabPanel InsertTab (int Pos, string Caption, string PanelClass, optional GUITabPanel ExistingPanel, optional string InHint, optional bool bForceActive)


InternalOnActivate

function InternalOnActivate ()


InternalOnKeyEvent

function bool InternalOnKeyEvent (out byte Key, out byte State, float delta)


InternalTabClick

function bool InternalTabClick (GUIComponent Sender)


LevelChanged

function LevelChanged ()

Overrides: GUIMultiComponent.LevelChanged


LostActiveTab

function bool LostActiveTab ()


RemoveTab

function RemoveTab (optional string Caption, optional GUITabButton who)


ReplaceTab

function GUITabPanel ReplaceTab (GUITabButton Which, string Caption, string PanelClass, optional GUITabPanel ExistingPanel, optional string InHint, optional bool bForceActive)


TabIndex

function int TabIndex (string TabName)