RichEdit.property DataWindow object property
Description
Settings that affect the appearance and behavior of columns
whose edit style is RichText.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.RichEdit.<span>property</span> |
Describe and Modify argument:
1 |
"<span>columnname</span>.RichEdit.<span>property </span>{ = <span>value </span>}" |
DataWindowSyntaxFromSql:
1 |
Column ( RichEdit.<span>property </span>= <span>value</span> ) |
Parameter |
Description |
---|---|
columnname |
The column with the RichText edit style |
property |
A property for the column’s |
value |
The value to be assigned to the property. |
Property for RichEdit |
Value |
---|---|
AutoSelect |
Whether to select the contents of the Values are:
You can use AutoSelect with DataWindowSyntaxFromSql. Painter: Auto Selection option |
DisplayOnly |
Whether the column is display only. Values are:
Painter: Display Only option For conditional control over column editing, use the Protect |
FocusRectangle |
Whether a dotted rectangle (the focus Values are:
You can use FocusRectangle with DataWindowSyntaxFromSql. The setting Painter: Show Focus Rectangle option |
Limit |
A number specifying the maximum number Painter: Limit option. |
NilIsNull |
Whether to set the value of the column Values are:
Painter: Empty String is Null option. |
Required |
Whether the column is required. Values are:
Painter: Required option. |
VScrollBar |
Whether a vertical scroll bar displays Values are:
Painter: Vertical Scroll Bar option. |
Usage
In the painter
Select the control and set values in the Properties view,
Edit tab, when Style Type is RichText.
Examples
1 |
string setting |
1 |
setting = & |
1 |
dw_1.Object.rte_description.RichEdit.AutoSelect |
1 |
dw_1.Object.rte_description.RichEdit.VScrollBar="yes" |
1 |
setting = dw_1.Describe(& |
1 |
"rte_description.RichEdit.VScrollBar") |
1 |
dw_1.Modify("rte_description.RichEdit.Required=no") |