RichText.property DataWindow object property
Description
Properties for the DataWindow RichText presentation style.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
dw_control.Object.DataWindow.RichText.property
Describe and Modify argument:
"DataWindow.RichText.property { = value }"
|
Parameter |
Description |
|---|---|
|
property |
A property for the DataWindow RichText |
|
value |
A value to be assigned to the property. |
|
Property for RichText |
Value |
|---|---|
|
BackColor |
A long specifying the numeric value of For more information about color, see RGB. Painter: Background Color group, General option. |
|
ControlCharsVisible |
Specifies whether control characters
Painter: RichText Presentation group, ControlChars Visible |
|
DisplayOnly |
Specifies whether users can make changes
Painter: Display Only option. |
|
HeaderFooter |
(Read-only) Specifies whether the RichTextEdit
If a document has a header or footer and the HeaderFooter Painter: Header/Footer option. |
|
InputField BackColor |
A long specifying the default background Painter: Background Color group, Input Field option. |
|
InputField NamesVisible |
Specifies whether input field names are
The value you specify is ignored when the InputFieldsVisible Painter: RichText Presentation group, Input Field Names Visible |
|
InputFields Visible |
Specifies whether input fields display
Painter: RichText Presentation group, Input Fields Visible |
|
PictureFrame |
Specifies whether pictures are displayed
Painter: Pictures As Frame option. |
|
PopMenu |
Specifies whether the user has access
Painter: PopUp Menu option. |
|
ReadOnly |
Specifies whether the user can change
|
|
ReturnsVisible (obsolete) |
Replaced by RichText.ControlCharsVisible |
|
RulerBar |
Specifies whether a ruler bar is visible
If the RichTextEdit pop-up menu is enabled, the user can use Painter: RichText Bars group, Ruler option. |
|
SpacesVisible |
Specifies whether spaces are visible.
Painter: RichText Presentation group, Spaces Visible option. |
|
TabBar |
Specifies whether a bar for setting tabs
If the pop-up menu is enabled, the user can use it to turn Painter: RichText Bars group, Tab option. |
|
TabsVisible |
Specifies whether tabs are visible. Values
Painter: RichText Presentation group, Tabs Visible option. |
|
ToolBar |
Specifies whether a tool bar for formatting
If the pop-up menu is enabled, the user can use it to turn Painter: RichText Bars group, Tool option. |
|
WordWrap |
Determines whether large blocks of text
Painter: Word Wrap option |
Usage
In the painter
Select the DataWindow by deselecting all controls; then set the
value in the Properties view, General tab, when the presentation
style is RichText.
Examples
string setting
setting = &
dw1.Object.DataWindow.RichText.DisplayOnly
dw1.Object.DataWindow.RichText.PopMenu = "yes"
setting = &
dw1.Describe("DataWindow.RichText.DisplayOnly")
dw1.Modify("DataWindow.RichText.PopMenu = 'yes'")