Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

Components

Type: array<GUIComponent>

An Array of Controls that can be tabbed to

Controls

Type: array<GUIComponent>

An Array of Components that make up this Control

FocusedControl

Type: GUIComponent

Which component inside this one has focus

PropagateVisibility

Type: bool

Does changes to visibility propagate down the line

Default values

Property Value
bTabStop True

Functions

Native functions

InitializeControls

function native InitializeControls ()


Events

AddComponent

event GUIComponent AddComponent (string ComponentClass)


AppendComponent

event GUIComponent AppendComponent (GUIComponent NewComp)


Closed

event Closed (GUIComponent Sender, bool bCancelled)

Overrides: GUIComponent.Closed


FindComponentIndex

event int FindComponentIndex (GUIComponent Who)


FocusFirst

event bool FocusFirst (GUIComponent Sender)

Overrides: GUIComponent.FocusFirst


FocusLast

event bool FocusLast (GUIComponent Sender)

Overrides: GUIComponent.FocusLast


Free

event Free ()

Overrides: GUIComponent.Free


InsertComponent

event GUIComponent InsertComponent (GUIComponent NewComp, int Index)


LoseFocus

event LoseFocus (GUIComponent Sender)

Overrides: GUIComponent.LoseFocus


MenuStateChange

event MenuStateChange (GUI.eMenuState Newstate)

Overrides: GUIComponent.MenuStateChange


NextControl

event bool NextControl (GUIComponent Sender)

Overrides: GUIComponent.NextControl


Opened

event Opened (GUIComponent Sender)

Overrides: GUIComponent.Opened


PrevControl

event bool PrevControl (GUIComponent Sender)

Overrides: GUIComponent.PrevControl


RemapComponents

event RemapComponents ()


RemoveComponent

event bool RemoveComponent (GUIComponent Comp, optional bool bRemap)


SetFocus

event SetFocus (GUIComponent Who)

Overrides: GUIComponent.SetFocus


SetVisibility

event SetVisibility (bool bIsVisible)

Overrides: GUIComponent.SetVisibility


Other instance functions

FindCenterPoint

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


FindDist

function float FindDist (GUIComponent Source, GUIComponent Target)


InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIComponent.InitComponent


InternalOnShow

function InternalOnShow ()


LoadINI

function string LoadINI ()

Overrides: GUIComponent.LoadINI


MapControls

function MapControls ()


SaveINI

function SaveINI (string Value)

Overrides: GUIComponent.SaveINI


TestControls

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