Table of Contents

Class TextBox

Namespace
OmegaGUI.Model
Assembly
OmegaGUI.dll

A basic edit box

public class TextBox : Label, ICloneable
Inheritance
object
TextBox
Implements
Inherited Members

Constructors

TextBox()

public TextBox()

Properties

OnChanged

A Lua script to execute when the control's value has changed

[FileType("Lua")]
public string? OnChanged { get; set; }

Property Value

string

OnEnter

A Lua script to execute when the user presses the ENTER key

[FileType("Lua")]
public string? OnEnter { get; set; }

Property Value

string

Text

The text entered in the control

public override string Text { get; set; }

Property Value

string

Methods

Clone()

Creates a deep copy of this instance.

public override Control Clone()

Returns

Control

CloneFromTo(TextBox, TextBox)

Copies all members declared by TextBox from one instance to another.

protected static void CloneFromTo(TextBox from, TextBox to)

Parameters

from TextBox
to TextBox

CloneTextBox()

Creates a deep copy of this TextBox instance.

public TextBox CloneTextBox()

Returns

TextBox

The new copy of the TextBox.