62 lines
1.6 KiB
Text
62 lines
1.6 KiB
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
|
|
.topic ctrl.textarea
|
|
.title TextArea
|
|
.toc 1 TextArea
|
|
.index TextArea
|
|
|
|
.h1 TextArea
|
|
|
|
VB Equivalent: TextArea (DVX extension) -- DVX Widget: textarea (multi-line text input, max 4096 chars)
|
|
|
|
A multi-line text editing area. This is a DVX extension with no direct VB3 equivalent (VB uses a TextBox with MultiLine=True). Supports syntax colorization, line numbers, auto-indent, and find/replace via the C API.
|
|
|
|
.h2 Type-Specific Properties
|
|
|
|
.table
|
|
Property Type Description
|
|
-------- ------ -------------------------------------------
|
|
Text String The full text content.
|
|
.endtable
|
|
|
|
Default Event: Change
|
|
|
|
.link ctrl.common.props Common Properties, Events, and Methods
|