UE2:GUIComboBox (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
UT2003 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIComboBox
Package:
XInterface
This class in other games:

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

Property group 'Menu'

bListItemsOnly

Type: bool


bReadOnly

Type: bool


bShowListOnFocus

Type: bool


MaxVisibleItems

Type: int


Default value: 8

Internal variables

DownButton

Type: GUIComboButton


Edit

Type: GUIEditBox


Index

Type: int


List

Type: GUIList


ListBox

Type: GUIListBox


TextStr

Type: string


Default values

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

Subobjects

EditBox1

Class: XInterface.GUIEditBox

Property Value
TextStr ""

ListBox1

Class: XInterface.GUIListBox

Property Value
bVisible False
StyleName "ComboListBox"

ShowList

Class: XInterface.GUIComboButton

Property Value
bRepeatClick False

Instance functions

AddItem

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


find

function string find (string Text, optional bool bExact)


Get

function string Get ()


GetExtra

function string GetExtra ()


GetIndex

function int GetIndex ()


GetItem

function string GetItem (int index)


GetItemObject

function Object GetItemObject (int index)


GetObject

function Object GetObject ()


GetText

function string GetText ()


HideListBox

function HideListBox ()


InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


InternalEditPressed

function InternalEditPressed (GUIComponent Sender, bool bRepeat)


InternalListClick

function bool InternalListClick (GUIComponent Sender)


InternalListDeActivate

function InternalListDeActivate ()


InternalOnInvalidate

function InternalOnInvalidate ()


ItemChanged

function ItemChanged (GUIComponent Sender)


ItemCount

function int ItemCount ()


ReadOnly

function ReadOnly (bool b)


RemoveItem

function RemoveItem (int item, optional int Count)


SetIndex

function SetIndex (int I)


SetText

function SetText (string NewText)


ShowListBox

function bool ShowListBox (GUIComponent Sender)


TextChanged

function TextChanged (GUIComponent Sender)