I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:GUIComboBox (UT2004)

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

Class: UT2K4UI.GUIComboBox

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

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

Properties[edit]

Property group 'GUIComboBox'[edit]

bIgnoreChangeWhenTyping[edit]

Type: bool

If not read-only, only accept OnChange when Enter is pressed

bReadOnly[edit]

Type: bool


bShowListOnFocus[edit]

Type: bool


bValueReadOnly[edit]

Type: bool


Index[edit]

Type: int

Modifiers: editconst


Default value: -1

List[edit]

Type: GUIList

Modifiers: editconst


MaxVisibleItems[edit]

Type: int


Default value: 8

TextStr[edit]

Type: string

Modifiers: editconst


Internal variables[edit]

Edit[edit]

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'EditBox1'

MyListBox[edit]

Type: GUIListBox

Modifiers: automated


Default value: GUIListBox'ListBox1'

MyShowListBtn[edit]

Type: GUIScrollButtonBase

Modifiers: automated


Default value: GUIComboButton'ShowList'

Default values[edit]

Property Value
bAcceptsInput True
OnKeyEvent InternalOnKeyEvent
PropagateVisibility True
ToolTip GUIToolTip'GUIComboBoxToolTip'
WinHeight 0.06

Subobjects[edit]

EditBox1[edit]

Class: XInterface.GUIEditBox

Property Value
bNeverScale True
RenderWeight 0.5
TextStr ""

GUIComboBoxToolTip[edit]

Class: XInterface.GUIToolTip

Empty subobject definition.

ListBox1[edit]

Class: XInterface.GUIListBox

Property Value
bNeverScale True
bTabStop False
bVisible False
FontScale FNT_Medium
RenderWeight 0.7
StyleName "ComboListBox"

ShowList[edit]

Class: XInterface.GUIComboButton

Property Value
bNeverScale True
bRepeatClick False
bTabStop False
RenderWeight 0.6

Delegates[edit]

OnHideList[edit]

delegate OnHideList ()


OnShowList[edit]

delegate OnShowList ()


Functions[edit]

Events[edit]

FocusFirst[edit]

event bool FocusFirst (GUIComponent Sender)

Overrides: GUIMultiComponent.FocusFirst


FocusLast[edit]

event bool FocusLast (GUIComponent Sender)

Overrides: GUIMultiComponent.FocusLast


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


LoseFocus[edit]

event LoseFocus (GUIComponent Sender)

Overrides: GUIMultiComponent.LoseFocus


SetVisibility[edit]

event SetVisibility (bool bIsVisible)

Overrides: GUIMultiComponent.SetVisibility


Other instance functions[edit]

See GUIComboBox instance functions.