I don't need to test my programs. I have an error-correcting modem.

UE3:UTUIComboBox (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIObject >> UIComboBox >> UTUIComboBox

Contents

Package: 
UTGame
Implemented interfaces
UIDataStorePublisher
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Extended version of combo box for UT3.

[edit] Properties

[edit] EditboxBGStyleName

Type: name


Default value: 'DefaultEditboxImageStyle'

[edit] ListBackgroundStyleName

Type: name


Default value: 'ComboListBackgroundStyle'

[edit] ToggleButtonCheckedStyleName

Type: name


Default value: 'ComboBoxDown'

[edit] ToggleButtonStyleName

Type: name


Default value: 'ComboBoxUp'

[edit] Default values

Property Value
ComboListClass Class'UTGame.UTUIList'

[edit] Subobjects

[edit] WidgetEventComponent

Class: Engine.UIComp_Event

Inherits from: UIComboBox.WidgetEventComponent

No new values.

[edit] Functions

[edit] Native functions

[edit] SetupChildStyles

native function SetupChildStyles ()

Initializes styles for child widgets.

[edit] Events

[edit] AddedChild

event AddedChild (UIScreenObject WidgetOwner, UIObject NewChild)

Overrides: UIScreenObject.AddedChild

Called immediately after a child has been added to this screen object.

Parameters:

  • WidgetOwner - the screen object that the NewChild was added as a child for
  • NewChild - the widget that was added

[edit] Initialized

event Initialized ()

Overrides: UIScreenObject.Initialized

Called after initialization.

[edit] Other instance functions

[edit] GetSelectionIndex

function int GetSelectionIndex ()

Returns:

the Selection Index of the currently selected list item

[edit] SetSelectedItem

function SetSelectedItem (int ItemIndex)

Sets the currently selected item.

Parameters:

  • ItemIndex - Not the list index but the index of the item which is a value of the Items array.

[edit] SetSelectionIndex

function SetSelectionIndex (int NewIndex)

Sets the current index for the list.

Parameters:

  • NewIndex - The new index to select