PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property RichEdit allows to manage the RTF type (Rich Text Format):
  • WINDEVAndroidWindows MobileJava 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 format.
  • 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
WINDEVWEBDEV - Server codeWINDEV Mobile This Property is now available for the Label fields present in an report.
New in version 22
WINDEVWEBDEV - Server codeWINDEV Mobile This Property is now available for the Label fields present in an report.
WINDEVWEBDEV - Server codeWINDEV Mobile This Property is now available for the Label fields present in an report.
Example
// If the "STC_Name" control is in RTF format, it becomes visible
IF STC_Name.RichEdit = True THEN
STC_Name.Visible = True
END
Syntax

Finding out whether the control is in RTF format Hide the details

<Result> = <Control used>.RichEdit
<Result>: Boolean
  • True if the specified element is in RTF format,
  • False otherwise.
<Control used>: Control name
Name of control to use:
  • 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 control to use:
  • 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 format,
  • 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 control to use:
  • 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 format,
  • False otherwise.

Modifying the RTF type of a control Hide the details

<Control used>.RichEdit = <Type>
<Control used>: Control name
Name of control to use:
  • 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 format,
  • 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 format (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 format (this value contains no RTF tag).

Limits

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