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 DisplayAsMarkdown property indicates whether or not an Edit control displays its content in Markdown format.
Remark: This property changes the type of Edit control to "Markdown read-only".
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: the Edit control switches to 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 switches "Markdown read-only" mode..
  • False: the Edit control switches back to input mode. You also need to use the State property to enable it.
Remarks
  • The "Support 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 meet one of the following conditions:
    • 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: 03/22/2023

Send a report | Local help