UE2:GUINumericEdit (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (talk | contribs) (Auto-generated page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUINumericEdit
Package:
XInterface
Direct subclass:
GUIFormatNumEdit
This class in other games:

Class: UT2K4UI. UT2NumericEdit

A Combination of an EditBox and 2 spinners

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

Properties

Property group 'GUINumericEdit'

bLeftJustified

Type: bool


bReadOnly

Type: bool


MaxValue

Type: int


Default value: 9999

MinValue

Type: int


Default value: -9999

Step

Type: int


Default value: 1

Value

Type: string


Default value: "0"

Internal variables

MyEditBox

Type: GUIEditBox

Modifiers: automated


Default value: GUIEditBox'cMyEditBox'

MySpinner

Type: GUISpinnerButton

Modifiers: automated


Default value: GUISpinnerButton'cMySpinner'

Default values

Subobjects

cMyEditBox

Class: XInterface.GUIEditBox

Property Value
bIntOnly True
bNeverScale True
TextStr ""

cMySpinner

Class: XInterface.GUISpinnerButton

Property Value
bNeverScale True
bTabStop False

GUINumericEditToolTip

Class: XInterface.GUIToolTip

Empty subobject definition.

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIMultiComponent.InitComponent


Other instance functions

CalcMaxLen

function CalcMaxLen ()


CheckValue

function CheckValue ()


EditKeyEvent

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


EditOnChange

function EditOnChange (GUIComponent Sender)


SetFriendlyLabel

function SetFriendlyLabel (GUILabel NewLabel)

Overrides: GUIComponent.SetFriendlyLabel


SetHint

function SetHint (string NewHint)

Overrides: GUIComponent.SetHint


SetReadOnly

function SetReadOnly (bool b)


SetValue

function SetValue (int V)


SpinnerMinusClick

function bool SpinnerMinusClick (GUIComponent Sender)


SpinnerPlusClick

function bool SpinnerPlusClick (GUIComponent Sender)


ValidateValue

function ValidateValue ()