The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:GUITabControl (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUITabControl
Package: 
XInterface
This class in other games:
UT2003, UE2Runtime

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[edit]

Property group 'GUITabControl'[edit]

ActiveTab[edit]

Type: GUITabButton

Modifiers: editconst, noexport


BackgroundImage[edit]

Type: Material


BackgroundStyle[edit]

Type: GUIStyles

Modifiers: editconst, noexport


BackgroundStyleName[edit]

Type: string


bDockPanels[edit]

Type: bool

If true, associated panels will dock vertically with this control

bDrawTabAbove[edit]

Type: bool

If true, tabs are drawn above the tab panels

Default value: True

bFillBackground[edit]

Type: bool


bFillSpace[edit]

Type: bool

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

FadeInTime[edit]

Type: float


FillColor[edit]

Type: Object.Color


MyFooter[edit]

Type: GUIBorder

Modifiers: editconst, noexport


PendingTab[edit]

Type: GUITabButton

Modifiers: editconst, noexport


TabHeight[edit]

Type: float


Default value: 0.08

TabStack[edit]

Type: array<GUITabButton>

Modifiers: editconst, noexport


Default values[edit]

Property Value
OnActivate InternalOnActivate

Functions[edit]

Events[edit]

Closed[edit]

event Closed (GUIComponent Sender, bool bCancelled)

Overrides: GUIMultiComponent.Closed


FocusFirst[edit]

event bool FocusFirst (GUIComponent Sender)

Overrides: GUIMultiComponent.FocusFirst


FocusLast[edit]

event bool FocusLast (GUIComponent Sender)

Overrides: GUIMultiComponent.FocusLast


Free[edit]

event Free ()

Overrides: GUIMultiComponent.Free


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


MakeTabActive[edit]

event MakeTabActive (GUITabButton Who)


NextControl[edit]

event bool NextControl (GUIComponent Sender)

Overrides: GUIMultiComponent.NextControl


NextPage[edit]

event bool NextPage ()

Overrides: GUIComponent.NextPage


Opened[edit]

event Opened (GUIComponent Sender)

Overrides: GUIMultiComponent.Opened


PrevControl[edit]

event bool PrevControl (GUIComponent Sender)

Overrides: GUIMultiComponent.PrevControl


PrevPage[edit]

event bool PrevPage ()

Overrides: GUIComponent.PrevPage


SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions[edit]

ActivateTab[edit]

function bool ActivateTab (GUITabButton Who, bool bFocusPanel)


ActivateTabByName[edit]

function bool ActivateTabByName (string tabname, bool bFocusPanel)


ActivateTabByPanel[edit]

function bool ActivateTabByPanel (GUITabPanel Panel, bool bFocusPanel)


AddTab[edit]

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


AddTabItem[edit]

function GUITabPanel AddTabItem (GUI.GUITabItem Item)


BorrowPanel[edit]

function GUITabPanel BorrowPanel (string Caption)


CenterMouse[edit]

function CenterMouse ()

Overrides: GUIMultiComponent.CenterMouse


FindPanelClass[edit]

function GUITabPanel FindPanelClass (class<GUITabPanelPanelClass)


InsertTab[edit]

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


InternalOnActivate[edit]

function InternalOnActivate ()


InternalOnKeyEvent[edit]

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


InternalTabClick[edit]

function bool InternalTabClick (GUIComponent Sender)


LevelChanged[edit]

function LevelChanged ()

Overrides: GUIMultiComponent.LevelChanged


LostActiveTab[edit]

function bool LostActiveTab ()


RemoveTab[edit]

function RemoveTab (optional string Caption, optional GUITabButton who)


ReplaceTab[edit]

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


TabIndex[edit]

function int TabIndex (string TabName)