My program doesn't have bugs. It just develops random features.

UE2:GUINumericEdit (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUINumericEdit

Contents

Package: 
XInterface
Direct subclass:
GUIFormatNumEdit
This class in other games:
UE2Runtime, UT2003

Class: UT2K4UI. UT2NumericEdit

A Combination of an EditBox and 2 spinners

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

[edit] Properties

[edit] Property group 'GUINumericEdit'

[edit] bLeftJustified

Type: bool


[edit] bReadOnly

Type: bool


[edit] MaxValue

Type: int


Default value: 9999

[edit] MinValue

Type: int


Default value: -9999

[edit] Step

Type: int


Default value: 1

[edit] Value

Type: string


Default value: "0"

[edit] Internal variables

[edit] MyEditBox

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'cMyEditBox'

[edit] MySpinner

Type: GUISpinnerButton

Modifiers: automated


Default value: GUISpinnerButton'cMySpinner'

[edit] Default values

Property Value
bAcceptsInput True
OnDeActivate ValidateValue
PropagateVisibility True
ToolTip GUIToolTip'GUINumericEditToolTip'
WinHeight 0.06

[edit] Subobjects

[edit] cMyEditBox

Class: XInterface.GUIEditBox

Property Value
bIntOnly True
bNeverScale True
TextStr ""

[edit] cMySpinner

Class: XInterface.GUISpinnerButton

Property Value
bNeverScale True
bTabStop False

[edit] GUINumericEditToolTip

Class: XInterface.GUIToolTip

Empty subobject definition.

[edit] Functions

[edit] Events

[edit] InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


[edit] Other instance functions

[edit] CalcMaxLen

function CalcMaxLen ()


[edit] CheckValue

function CheckValue ()


[edit] EditKeyEvent

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


[edit] EditOnChange

function EditOnChange (GUIComponent Sender)


[edit] SetFriendlyLabel

function SetFriendlyLabel (GUILabel NewLabel)

Overrides: GUIComponent.SetFriendlyLabel


[edit] SetHint

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


[edit] SetReadOnly

function SetReadOnly (bool b)


[edit] SetValue

function SetValue (int V)


[edit] SpinnerMinusClick

function bool SpinnerMinusClick (GUIComponent Sender)


[edit] SpinnerPlusClick

function bool SpinnerPlusClick (GUIComponent Sender)


[edit] ValidateValue

function ValidateValue ()