40 lines
922 B
Text
40 lines
922 B
Text
.topic ctrl.textbox
|
|
.title TextBox
|
|
.toc 1 TextBox
|
|
.index TextBox
|
|
.index Text
|
|
.index DataSource
|
|
.index DataField
|
|
|
|
.h1 TextBox
|
|
|
|
VB Equivalent: TextBox -- DVX Widget: textbox (single-line text input, max 256 chars)
|
|
|
|
A single-line text input field. Supports data binding via DataSource and DataField properties.
|
|
|
|
.h2 Type-Specific Properties
|
|
|
|
.table
|
|
Property Type Description
|
|
---------- ------ -------------------------------------------
|
|
Text String The text content of the input field.
|
|
DataSource String Name of a Data control for data binding.
|
|
DataField String Column name for data binding.
|
|
.endtable
|
|
|
|
Default Event: Change
|
|
|
|
.h2 Example
|
|
|
|
.code
|
|
Begin TextBox Text1
|
|
Text = "Enter text here"
|
|
End
|
|
|
|
Sub Text1_Change ()
|
|
Label1.Caption = "You typed: " & Text1.Text
|
|
End Sub
|
|
.endcode
|
|
|
|
.link ctrl.common.props Common Properties, Events, and Methods
|
|
.link ctrl.databinding Data Binding
|