There is no spoon

UE2:GUIComboBox (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIComboBox

Contents

Package: 
GUI
This class in other games:
UT2003, UT2004

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

[edit] Properties

[edit] Property group 'Menu'

[edit] bListItemsOnly

Type: bool


[edit] bReadOnly

Type: bool


[edit] bShowListOnFocus

Type: bool


[edit] MaxVisibleItems

Type: int


Default value: 8

[edit] Internal variables

[edit] Edit

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'EditBox1'

[edit] Index

Type: int


[edit] List

Type: GUIList


[edit] MyListBox

Type: GUIListBox

Modifiers: automated


Default value: GUIListBox'ListBox1'

[edit] MyShowListBtn

Type: GUIComboButton

Modifiers: automated


Default value: GUIComboButton'ShowList'

[edit] TextStr

Type: string


[edit] Default values

Property Value
PropagateVisibility True
WinHeight 0.06

[edit] Subobjects

[edit] EditBox1

Class: GUI.GUIEditBox

Empty subobject definition.

[edit] ListBox1

Class: GUI.GUIListBox

Property Value
bVisible False
StyleName "ComboListBox"

[edit] ShowList

Class: GUI.GUIComboButton

Empty subobject definition.

[edit] Functions

[edit] Events

[edit] SetVisibility

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


[edit] Other instance functions

[edit] AddItem

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


[edit] find

function string find (string Text, optional bool bExact)


[edit] Get

function string Get ()


[edit] GetExtra

function string GetExtra ()


[edit] GetIndex

function int GetIndex ()


[edit] GetItem

function string GetItem (int index)


[edit] GetItemObject

function Object GetItemObject (int index)


[edit] GetObject

function Object GetObject ()


[edit] GetText

function string GetText ()


[edit] HideListBox

function HideListBox ()


[edit] InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


[edit] InternalEditPressed

function InternalEditPressed (GUIComponent Sender, bool bRepeat)


[edit] InternalListClick

function bool InternalListClick (GUIComponent Sender)


[edit] InternalListDeActivate

function InternalListDeActivate ()


[edit] InternalOnInvalidate

function InternalOnInvalidate (GUIComponent Who)


[edit] InternalOnMousePressed

function InternalOnMousePressed (GUIComponent Sender, bool bRepeat)


[edit] ItemChanged

function ItemChanged (GUIComponent Sender)


[edit] ItemCount

function int ItemCount ()


[edit] ReadOnly

function ReadOnly (bool b)


[edit] RemoveItem

function RemoveItem (int item, optional int Count)


[edit] SetHint

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


[edit] SetIndex

function SetIndex (int I)


[edit] SetText

function SetText (string NewText)


[edit] ShowListBox

function bool ShowListBox (GUIComponent Sender)


[edit] TextChanged

function TextChanged (GUIComponent Sender)