UE2:MoNumericEdit (UT2004)
Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIMenuOption >> MoNumericEdit |
- Package:
- XInterface
- This class in other games:
An edit control for integer values.
Properties
Property group 'Option'
MaxValue
Type: int
Maximum allowed value.
Default value: 9999
MinValue
Type: int
Minimum allowed value.
Default value: -9999
MyNumericEdit
Type: GUINumericEdit
Modifiers: editconst, noexport
The actual edit box with up/down buttons.
Step
Type: int
Step interval for the up/down buttons.
Default value: 1
Default values
Property | Value |
---|---|
ComponentClassName | "XInterface.GUINumericEdit" |
Functions
Events
InitComponent
Overrides: GUIMenuOption.InitComponent
Initializes the MyNumericEdit.
Other instance functions
GetComponentValue
Overrides: GUIMenuOption.GetComponentValue
Returns the string displayed in the edit box.
GetValue
Returns the current value in the edit box.
SetComponentValue
Overrides: GUIMenuOption.SetComponentValue
Sets a new string to display in the edit box. This value is typecasted to int as validation.
SetReadOnly
Overrides: GUIMenuOption.SetReadOnly
Sets whether this control is read-only.
Setup
Sets up the range and step interval for values in this control.
SetValue
Puts a new value into the edit box.