The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:GUIEditBox (UE2Runtime)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> GUI >> GUIComponent >> GUIButton >> GUIEditBox |
Contents |
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Class: GUI.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 (c) 2002, Epic Games, Inc. All Rights Reserved
[edit] Properties
[edit] Property group 'Menu'
[edit] AllowedCharSet
Type: string
Only Allow these characters
[edit] bConvertSpaces
Type: bool
Do we want to convert Spaces to "_"
[edit] bFloatOnly
Type: bool
Only Allow Float Numeric entry
[edit] bIncludeSign
Type: bool
Do we need to allow a -/+ sign
[edit] bIntOnly
Type: bool
Only Allow Interger Numeric entry
[edit] bMaskText
Type: bool
Displays the text as a *
[edit] BorderOffsets
Type: int
Array size: 4
How far in from the edit is the edit area
[edit] bReadOnly
Type: bool
Can't actually edit this box
[edit] MaxWidth
Type: int
Holds the maximum width (in chars) of the string - 0 = No Max
[edit] TextCase
Type: GUI.eTextCase
Controls forcing case, etc
[edit] TextStr
Type: string
Holds the current string
[edit] Internal variables
[edit] bAllSelected
Type: bool
[edit] CaretPos
Type: int
Where is the cursor within the string
[edit] DelayTime
Type: float
[edit] FirstVis
Type: int
Position of the first visible character;
[edit] LastCaret
Type: int
Default value: -1
[edit] LastKey
Type: byte
[edit] LastLength
Type: int
Used to make things quick
Default value: -1
[edit] LastSizeX
Type: int
Used to detect resolution changes
[edit] Default values
| Property | Value |
|---|---|
| bCaptureMouse | False |
| OnClickSound | CS_Edit |
| StyleName | "SquareButton" |
| WinHeight | 0.06 |
[edit] Functions
[edit] Events
[edit] SetText
[edit] Other instance functions
[edit] ConvertIllegal
[edit] DeleteChar
[edit] GetText
[edit] InitComponent
Overrides: GUIButton.InitComponent
[edit] InternalOnKeyEvent
Overrides: GUIButton.InternalOnKeyEvent
[edit] InternalOnKeyType
[edit] LoadINI
Overrides: GUIComponent.LoadINI
[edit] SaveINI
Overrides: GUIComponent.SaveINI
