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

UE2:GUIComboBox (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIComboBox
Package: 
GUI
This class in other games:
UT2004, UT2003

Class: GUI.GUIComboBox

A Combination of an EditBox, a Down Arrow Button and a ListBox

Written by Michel Comeau (c) 2002, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'Menu'[edit]

bListItemsOnly[edit]

Type: bool


bReadOnly[edit]

Type: bool


bShowListOnFocus[edit]

Type: bool


MaxVisibleItems[edit]

Type: int


Default value: 8

Internal variables[edit]

Edit[edit]

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'EditBox1'

Index[edit]

Type: int


List[edit]

Type: GUIList


MyListBox[edit]

Type: GUIListBox

Modifiers: automated


Default value: GUIListBox'ListBox1'

MyShowListBtn[edit]

Type: GUIComboButton

Modifiers: automated


Default value: GUIComboButton'ShowList'

TextStr[edit]

Type: string


Default values[edit]

Property Value
PropagateVisibility True
WinHeight 0.06

Subobjects[edit]

EditBox1[edit]

Class: GUI.GUIEditBox

Empty subobject definition.

ListBox1[edit]

Class: GUI.GUIListBox

Property Value
bVisible False
StyleName "ComboListBox"

ShowList[edit]

Class: GUI.GUIComboButton

Empty subobject definition.

Functions[edit]

Events[edit]

SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions[edit]

AddItem[edit]

function AddItem (string Item, optional Object Extra, optional string Str)


find[edit]

function string find (string Text, optional bool bExact)


Get[edit]

function string Get ()


GetExtra[edit]

function string GetExtra ()


GetIndex[edit]

function int GetIndex ()


GetItem[edit]

function string GetItem (int index)


GetItemObject[edit]

function Object GetItemObject (int index)


GetObject[edit]

function Object GetObject ()


GetText[edit]

function string GetText ()


HideListBox[edit]

function HideListBox ()


InitComponent[edit]

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


InternalEditPressed[edit]

function InternalEditPressed (GUIComponent Sender, bool bRepeat)


InternalListClick[edit]

function bool InternalListClick (GUIComponent Sender)


InternalListDeActivate[edit]

function InternalListDeActivate ()


InternalOnInvalidate[edit]

function InternalOnInvalidate (GUIComponent Who)


InternalOnMousePressed[edit]

function InternalOnMousePressed (GUIComponent Sender, bool bRepeat)


ItemChanged[edit]

function ItemChanged (GUIComponent Sender)


ItemCount[edit]

function int ItemCount ()


ReadOnly[edit]

function ReadOnly (bool b)


RemoveItem[edit]

function RemoveItem (int item, optional int Count)


SetHint[edit]

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


SetIndex[edit]

function SetIndex (int I)


SetText[edit]

function SetText (string NewText)


ShowListBox[edit]

function bool ShowListBox (GUIComponent Sender)


TextChanged[edit]

function TextChanged (GUIComponent Sender)