ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 DisplayFormat property gets and sets the expected display format for a given text: plain text, RTF or Markdown.
This text can be:
  • the caption of a Static control.
  • the caption of an Edit control.
  • the caption of a column in a Table control.
  • the caption of a menu option.
Example
STC_Info.DisplayFormat = dfMarkdown
STC_Info = "**Bold** and *italic* text"
Syntax

Getting the expected display format of the text in a control Hide the details

<Result> = <Control used>.DisplayFormat
<Result>: Integer constant
Format expected by the Static control:
dfMarkdownMarkdown text.
dfPlainTextText without specific format.
dfRTFString in Rich Text Format.
<Control used>: Control name
Name of the control used. This control can correspond to:
  • the name of a Static control,
  • the name of an Edit control,
  • the name of a column in a Table control,
  • the name of a menu option.

Setting the expected display format of the text in a control Hide the details

<Control used>.DisplayFormat = <New format>
<Control used>: Control name
Name of the control used. This control can correspond to:
  • the name of a Static control,
  • the name of an Edit control,
  • the name of a column in a Table control,
  • the name of a menu option.
<New format>: Integer constant
New format expected by the Static control:
dfMarkdownMarkdown text.
dfPlainTextText without specific format.
dfRTFString in Rich Text Format.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/21/2023

Send a report | Local help