The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:GUIEditBox (UT2004)
Object >> GUI >> GUIComponent >> GUIButton >> GUIEditBox |
- Package:
- XInterface
- This class in other games:
- UE2Runtime, UT2003
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: XInterface.GUIEditBox
GUIEditBox - The basic text edit control. I've merged Normal edit, restricted edit, numeric edit and password edit in to 1 control.
Written by Joe Wilcox Updated by Ron Prestenback (c) 2002, 2003, Epic Games, Inc. All Rights Reserved
Properties[edit]
Property group 'GUIEditBox'[edit]
AllowedCharSet[edit]
Type: string
Only Allow these characters
bAlwaysNotify[edit]
Type: bool
If true, send OnChange event when receive SetText(), even if text is identical
bConvertSpaces[edit]
Type: bool
Do we want to convert Spaces to "_"
bFloatOnly[edit]
Type: bool
Only Allow Float Numeric entry
bIncludeSign[edit]
Type: bool
Do we need to allow a -/+ sign
bIntOnly[edit]
Type: bool
Only Allow Interger Numeric entry
bMaskText[edit]
Type: bool
Displays the text as a *
BorderOffsets[edit]
Type: int
Array size: 4
How far in from the edit is the edit area
bReadOnly[edit]
Type: bool
Can't actually edit this box
DelayTime[edit]
Type: float
MaxWidth[edit]
Type: int
Holds the maximum width (in chars) of the string - 0 = No Max
Default value: 768
TextCase[edit]
Type: GUI.eTextCase
Controls forcing case, etc
TextStr[edit]
Type: string
Holds the current string
Internal variables[edit]
bAllSelected[edit]
Type: bool
CaretPos[edit]
Type: int
Where is the cursor within the string
FirstVis[edit]
Type: int
Position of the first visible character;
LastCaret[edit]
Type: int
Default value: -1
LastKey[edit]
Type: byte
LastLength[edit]
Type: int
Used to make things quick
Default value: -1
LastSizeX[edit]
Type: int
Used to detect resolution changes
Default values[edit]
Property | Value |
---|---|
bCaptureMouse | False |
bRequiresStyle | True |
OnActivate | InternalActivate |
OnClickSound | CS_Edit |
OnDeActivate | InternalDeactivate |
OnKeyEvent | InternalOnKeyEvent |
OnKeyType | InternalOnKeyType |
StyleName | "EditBox" |
WinHeight | 0.06 |
Functions[edit]
Events[edit]
InitComponent[edit]
Overrides: GUIButton.InitComponent
SetText[edit]
Other instance functions[edit]
ConvertIllegal[edit]
DeleteChar[edit]
GetText[edit]
InternalActivate[edit]
InternalDeactivate[edit]
InternalOnKeyEvent[edit]
Overrides: GUIButton.InternalOnKeyEvent