ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The DisplayAsMarkdown property indicates whether or not an Edit control displays its content in Markdown format.
Note: This property can be used to change the type of Edit control to "Visualization Markdown".
Example
// Click [Markdown preview]
EDT_Promo.DisplayAsMarkdown = True

// Click [Edit]
EDT_Promo.DisplayAsMarkdown = False
SetFocus(EDT_Promo)
Syntax

Determining if an Edit control displays its content in Markdown format Hide the details

<Result> = <Edit control>.DisplayAsMarkdown
<Result>: Boolean
  • True if the Edit control is in read-only mode and displays content in Markdown format. Scrolling and selection are enabled (except if the State property is set to Grayed). The State property remains unchanged. The Edit control is "Markdown (read-only)".
  • False if the Edit control is in input mode.
<Edit control>: Control name
Name of the Edit control used.

Specifying whether or not an Edit control displays its content in Markdown format Hide the details

<Edit control>.DisplayAsMarkdown = <Management mode>
<Edit control>: Control name
Name of the Edit control used.
<Management mode>: Boolean
  • True Edit control becomes read-only with content displayed in Markdown format. Scrolling and selection are enabled (except if the State property is set to Grayed). The State property remains unchanged. The Edit control switches to "Markdown (read-only)" mode.
  • False Edit control returns to input mode. You also need to use the State property to enable it.
Remarks
  • The "Markdown" option in the "UI" tab of the Edit control description window applies only to the caption, tooltip and tokens associated with the control. This property does not apply to the content of the Edit control.
  • To display data in Markdown format, the Edit control must:
    • be of type "Markdown (read-only)".
    • have the DisplayAsMarkdown property set to True.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help