I'm a doctor, not a mechanic

UE2:GUIComboBox (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
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

Property group 'Menu'

bListItemsOnly

Type: bool


bReadOnly

Type: bool


bShowListOnFocus

Type: bool


MaxVisibleItems

Type: int


Default value: 8

Internal variables

Edit

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'EditBox1'

Index

Type: int


List

Type: GUIList


MyListBox

Type: GUIListBox

Modifiers: automated


Default value: GUIListBox'ListBox1'

MyShowListBtn

Type: GUIComboButton

Modifiers: automated


Default value: GUIComboButton'ShowList'

TextStr

Type: string


Default values

Property Value
PropagateVisibility True
WinHeight 0.06

Subobjects

EditBox1

Class: GUI.GUIEditBox

Empty subobject definition.

ListBox1

Class: GUI.GUIListBox

Property Value
bVisible False
StyleName "ComboListBox"

ShowList

Class: GUI.GUIComboButton

Empty subobject definition.

Functions

Events

SetVisibility

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other 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 (GUIComponent Who)


InternalOnMousePressed

function InternalOnMousePressed (GUIComponent Sender, bool bRepeat)


ItemChanged

function ItemChanged (GUIComponent Sender)


ItemCount

function int ItemCount ()


ReadOnly

function ReadOnly (bool b)


RemoveItem

function RemoveItem (int item, optional int Count)


SetHint

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


SetIndex

function SetIndex (int I)


SetText

function SetText (string NewText)


ShowListBox

function bool ShowListBox (GUIComponent Sender)


TextChanged

function TextChanged (GUIComponent Sender)