PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Handling the value of an RTF control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The RichEdit property is used to manage the RTF (Rich Text Format) type:
  • WINDEVJava of a window control.
    Reminder: The RTF type is an option that applies to the edit controls and to the Static controls. This option is located in the "Details" tab of the control description.
  • Versions 22 and later
    of a Static control found in a report.
    Reminder: The RTF type is an option that applies to the Static controls. This option is found in the "General" tab of the control description.
    New in version 22
    of a Static control found in a report.
    Reminder: The RTF type is an option that applies to the Static controls. This option is found in the "General" tab of the control description.
    of a Static control found in a report.
    Reminder: The RTF type is an option that applies to the Static controls. This option is found in the "General" tab of the control description.
You can:
  • find out whether the control is in RTF.
  • Versions 16 and later
    modify the RTF type of a control.
    New in version 16
    modify the RTF type of a control.
    modify the RTF type of a control.
Versions 15 and later
WINDEVJava This property is now available for Java applications.
New in version 15
WINDEVJava This property is now available for Java applications.
WINDEVJava This property is now available for Java applications.
Versions 22 and later
WINDEV This property is now available for Static controls in a report.
New in version 22
WINDEV This property is now available for Static controls in a report.
WINDEV This property is now available for Static controls in a report.
Example
// If the "STC_Name" control is in RTF, it becomes visible
IF STC_Name.RichEdit = True THEN
STC_Name.Visible = True
END
Syntax

Finding out whether the control is in RTF Hide the details

<Result> = <Control used>.RichEdit
<Result>: Boolean
  • True if the specified element is in RTF,
  • False otherwise.
<Control used>: Control name
Name of the control to be used:
  • Edit control or Static control in a window.
  • Versions 22 and later
    Static control in a report.
    New in version 22
    Static control in a report.
    Static control in a report.
Versions 16 and later

Modifying the RTF type of a control Hide the details

<Control used>.RichEdit = <Type>
<Control used>: Control name
Name of the control to be used:
  • Edit control or Static control in a window.
  • Versions 22 and later
    Static control in a report.
    New in version 22
    Static control in a report.
    Static control in a report.
<Type>: Boolean
  • True if the specified element must be in RTF,
  • False otherwise.
New in version 16

Modifying the RTF type of a control Hide the details

<Control used>.RichEdit = <Type>
<Control used>: Control name
Name of the control to be used:
  • Edit control or Static control in a window.
  • Versions 22 and later
    Static control in a report.
    New in version 22
    Static control in a report.
    Static control in a report.
<Type>: Boolean
  • True if the specified element must be in RTF,
  • False otherwise.

Modifying the RTF type of a control Hide the details

<Control used>.RichEdit = <Type>
<Control used>: Control name
Name of the control to be used:
  • Edit control or Static control in a window.
  • Versions 22 and later
    Static control in a report.
    New in version 22
    Static control in a report.
    Static control in a report.
<Type>: Boolean
  • True if the specified element must be in RTF,
  • False otherwise.
Remarks
WINDEVWindows

Handling the value of an RTF control

  • If the assignment (or the read operation) is performed directly or by Value: the value of the RTF control is in RTF (this value contains RTF tags).
  • If the assignment (or the read operation) is performed by RTFToText: the value of the RTF control is not in RTF (this value contains no RTF tag).

Limits

In a window, the RichEdit property applies only to the following controls:
  • edit controls,
  • Static controls.
  • text table column.
Versions 22 and later
In a report, the RichEdit property applies only to Static controls.
New in version 22
In a report, the RichEdit property applies only to Static controls.
In a report, the RichEdit property applies only to Static controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment