PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • 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
..RichEdit is used 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 found 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 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 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 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 the Java applications.
New in version 15
WINDEVJava This property is now available for the Java applications.
WINDEVJava This property is now available for the Java applications.
Versions 22 and later
WINDEVWEBDEV - Server codeWINDEV Mobile This property is now available for the Static controls found in a report.
New in version 22
WINDEVWEBDEV - Server codeWINDEV Mobile This property is now available for the Static controls found in a report.
WINDEVWEBDEV - Server codeWINDEV Mobile This property is now available for the Static controls found in a 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 Name>..RichEdit
<Result>: Boolean
  • True if the specified element is in RTF format,
  • False otherwise.
<Control Name>: Character string (with or without quotes)
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 Name>..RichEdit = <Type>
<Control Name>: Character string (with or without quotes)
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 Name>..RichEdit = <Type>
<Control Name>: Character string (with or without quotes)
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 Name>..RichEdit = <Type>
<Control Name>: Character string (with or without quotes)
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, ..RichEdit applies to the following controls:
  • edit controls,
  • Static controls.
  • text table column.
    Android ..RichEdit does not apply to the table columns.
Versions 22 and later
In a report, ..RichEdit applies to the Static controls only.
New in version 22
In a report, ..RichEdit applies to the Static controls only.
In a report, ..RichEdit applies to the Static controls only.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment