Mostly Harmless

UE2:GUIComboBox (UT2003)

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

Class: XInterface.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]

DownButton[edit]

Type: GUIComboButton


Edit[edit]

Type: GUIEditBox


Index[edit]

Type: int


List[edit]

Type: GUIList


ListBox[edit]

Type: GUIListBox


TextStr[edit]

Type: string


Default values[edit]

Property Value
Controls[0] GUIEditBox'EditBox1'
Controls[1] GUIComboButton'ShowList'
Controls[2] GUIListBox'ListBox1'
WinHeight 0.06

Subobjects[edit]

EditBox1[edit]

Class: XInterface.GUIEditBox

Property Value
TextStr ""

ListBox1[edit]

Class: XInterface.GUIListBox

Property Value
bVisible False
StyleName "ComboListBox"

ShowList[edit]

Class: XInterface.GUIComboButton

Property Value
bRepeatClick False

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 ()


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)


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)