RichEdit.property
property (DataWindow object)
Description
Settings that affect the appearance and behavior of columns whose
edit style is RichText.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.RichEdit.property |
Describe and Modify argument:
|
1 |
"columnname.RichEdit.property { = value }" |
SyntaxFromSql:
|
1 |
Column ( RichEdit.property = value ) |
|
Parameter |
Description |
|---|---|
|
columnname |
The column with the RichText edit style for which |
|
property |
A property for the column’s Edit style. Properties |
|
value |
The value to be assigned to the |
|
Property for RichEdit |
Value |
|---|---|
|
AutoSelect |
Whether to select the contents of the column Values Yes — Select automatically. No — You can use AutoSelect Painter: Auto Selection |
|
DisplayOnly |
Whether the column is display Values are: Yes — Do not allow No — Allow the user to enter Painter: Display Only option For |
|
FocusRectangle |
Whether a dotted rectangle (the focus rectangle) Values are: Yes — Display the No — Do not display the focus You can use FocusRectangle with Painter: Show Focus Rectangle |
|
Limit |
A number specifying the maximum number of Painter: Limit option. |
|
NilIsNull |
Whether to set the value of the column control to Values Yes — Make the empty string No — Do not make the empty string Painter: Empty String is Null |
|
Required |
Whether the column is required. Values Yes — It is required. No — It is Painter: Required |
|
VScrollBar |
Whether a vertical scroll bar displays in the Values are: Yes — No — Do not display Painter: Vertical Scroll Bar |
Usage
In the painter
Select the control and set values in the Properties view, Edit
tab, when Style Type is RichText.
Examples
|
1 2 3 4 5 6 7 |
string setting setting = & dw_1.Object.rte_description.RichEdit.AutoSelect dw_1.Object.rte_description.RichEdit.VScrollBar="yes" setting = dw_1.Describe(& "rte_description.RichEdit.VScrollBar") dw_1.Modify("rte_description.RichEdit.Required=no") |