I'm a doctor, not a mechanic

UE2:GUIMultiComponent (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIMultiComponent
Package: 
GUI
Direct subclasses:
GUIComboBox, GUIFloatEdit, GUIListBoxBase, GUIMenuOption, GUINumericEdit, GUIPage, GUIPanel, GUIScrollBarBase, GUITabControl
This class in other games:
UT2003, UT2004

Class: GUI.GUIMultiComponent

GUIMultiComponents are collections of components that work together. When initialized, GUIMultiComponents transfer all of their components to the to the GUIPage that owns them.

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

Properties[edit]

Components[edit]

Type: array<GUIComponent>

An Array of Controls that can be tabbed to

Controls[edit]

Type: array<GUIComponent>

An Array of Components that make up this Control

FocusedControl[edit]

Type: GUIComponent

Which component inside this one has focus

PropagateVisibility[edit]

Type: bool

Does changes to visibility propagate down the line

Default values[edit]

Property Value
bTabStop True

Functions[edit]

Native functions[edit]

InitializeControls[edit]

function native InitializeControls ()


Events[edit]

AddComponent[edit]

event GUIComponent AddComponent (string ComponentClass)


AppendComponent[edit]

event GUIComponent AppendComponent (GUIComponent NewComp)


Closed[edit]

event Closed (GUIComponent Sender, bool bCancelled)

Overrides: GUIComponent.Closed


FindComponentIndex[edit]

event int FindComponentIndex (GUIComponent Who)


FocusFirst[edit]

event bool FocusFirst (GUIComponent Sender)

Overrides: GUIComponent.FocusFirst


FocusLast[edit]

event bool FocusLast (GUIComponent Sender)

Overrides: GUIComponent.FocusLast


Free[edit]

event Free ()

Overrides: GUIComponent.Free


InsertComponent[edit]

event GUIComponent InsertComponent (GUIComponent NewComp, int Index)


LoseFocus[edit]

event LoseFocus (GUIComponent Sender)

Overrides: GUIComponent.LoseFocus


MenuStateChange[edit]

event MenuStateChange (GUI.eMenuState Newstate)

Overrides: GUIComponent.MenuStateChange


NextControl[edit]

event bool NextControl (GUIComponent Sender)

Overrides: GUIComponent.NextControl


Opened[edit]

event Opened (GUIComponent Sender)

Overrides: GUIComponent.Opened


PrevControl[edit]

event bool PrevControl (GUIComponent Sender)

Overrides: GUIComponent.PrevControl


RemapComponents[edit]

event RemapComponents ()


RemoveComponent[edit]

event bool RemoveComponent (GUIComponent Comp, optional bool bRemap)


SetFocus[edit]

event SetFocus (GUIComponent Who)

Overrides: GUIComponent.SetFocus


SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIComponent.SetVisibility


Other instance functions[edit]

FindCenterPoint[edit]

function FindCenterPoint (GUIComponent What, out float X, out float Y)


FindDist[edit]

function float FindDist (GUIComponent Source, GUIComponent Target)


InitComponent[edit]

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


InternalOnShow[edit]

function InternalOnShow ()


LoadINI[edit]

function string LoadINI ()

Overrides: GUIComponent.LoadINI


MapControls[edit]

function MapControls ()


SaveINI[edit]

function SaveINI (string Value)

Overrides: GUIComponent.SaveINI


TestControls[edit]

function bool TestControls (int Mode, int SourceIndex, int TargetIndex)