The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Difference between revisions of "UE3:UTUIComboBox (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 8))
 
(No difference)

Latest revision as of 07:02, 17 January 2010

UDK Object >> UIRoot >> UIScreenObject >> UIObject >> UIComboBox >> UTUIComboBox
Package: 
UTGame
Implemented interfaces
UIDataStorePublisher
This class in other games:
UT3

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

Extended version of combo box for UT3.

Properties[edit]

EditboxBGStyleName[edit]

Type: name


Default value: 'DefaultEditboxImageStyle'

ListBackgroundStyleName[edit]

Type: name


Default value: 'ComboListBackgroundStyle'

ToggleButtonCheckedStyleName[edit]

Type: name


Default value: 'ComboBoxDown'

ToggleButtonStyleName[edit]

Type: name


Default value: 'ComboBoxUp'

Default values[edit]

Property Value
ComboListClass Class'UTGame.UTUIList'

Subobjects[edit]

WidgetEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UIComboBox.WidgetEventComponent

No new values.

Functions[edit]

Native functions[edit]

SetupChildStyles[edit]

native function SetupChildStyles ()

Initializes styles for child widgets.

Events[edit]

AddedChild[edit]

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

Initialized[edit]

event Initialized ()

Overrides: UIScreenObject.Initialized

Called after initialization.

Other instance functions[edit]

GetSelectionIndex[edit]

function int GetSelectionIndex ()

Returns:

the Selection Index of the currently selected list item

SetSelectedItem[edit]

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.

SetSelectionIndex[edit]

function SetSelectionIndex (int NewIndex)

Sets the current index for the list.

Parameters:

  • NewIndex - The new index to select