UE2:GUINumericEdit (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
UE2Runtime Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUINumericEdit
Package:
GUI
This class in other games:

Class: GUI. UT2NumericEdit

A Combination of an EditBox and 2 spinners

Written by Joe Wilcox (c) 2002, Epic Games, Inc. All Rights Reserved

Properties

Property group 'Menu'

bLeftJustified

Type: bool


MaxValue

Type: int


MinValue

Type: int


Step

Type: int


Default value: 1

Value

Type: string


Default value: "0"

Internal variables

MyEditBox

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'cMyEditBox'

MyMinus

Type: GUISpinnerButton

Modifiers: automated


Default value: GUISpinnerButton'cMyMinus'

MyPlus

Type: GUISpinnerButton

Modifiers: automated


Default value: GUISpinnerButton'cMyPlus'

Default values

Property Value
bAcceptsInput True
PropagateVisibility True
WinHeight 0.06

Subobjects

cMyEditBox

Class: GUI.GUIEditBox

Property Value
bIntOnly True

cMyMinus

Class: GUI.GUISpinnerButton

Empty subobject definition.

cMyPlus

Class: GUI.GUISpinnerButton

Property Value
PlusButton True

Instance functions

CalcMaxLen

function CalcMaxLen ()


EditKeyEvent

function bool EditKeyEvent (out byte Key, out byte State, float delta)


EditOnChange

function EditOnChange (GUIComponent Sender)


InitComponent

function InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


SetHint

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


SetValue

function SetValue (int V)


SpinnerMinusClick

function bool SpinnerMinusClick (GUIComponent Sender)


SpinnerPlusClick

function bool SpinnerPlusClick (GUIComponent Sender)