ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
  • Special case: Edit control
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 Markdown property is used to enable or disable Markdown formatting in the controls of a window or a report.
New in version 2024
For the controls of a window, the Markdown property enables or disables the "Markdown support" option, which can also be found in the "UI" tab of the control description window. If this option is enabled, Markdown formatting applies only to the following elements of the control:
  • caption,
  • tooltip,
  • associated tokens (for an Edit control).
For a Static control in a report, the Markdown property is used to:
  • determine if a Static control of a report is of type Markdown.
  • set the type of a Static control in a report to Markdown.
  • Remark: Markdown is an option available for Static controls in reports. This option is available in the "General" tab of the control description.
Example
// If the "STC_Name" control is of type Markdown, it becomes visible
IF STC_Name.Markdown = True THEN
STC_Name.Visible = True
END
Syntax
New in version 2024

Determining if a control in a window supports Markdown formatting Hide the details

<Result> = <Control used>.Markdown
<Result>: Boolean
  • True if the specified element supports Markdown,
  • False otherwise.
<Control used>: Control name
Control in a window.
New in version 2024

Enabling or disabling Markdown support for a control in a window Hide the details

<Control used>.Markdown = <Type>
<Control used>: Control name
Control in a window.
<Type>: Boolean
  • True if the specified element should support Markdown,
  • False otherwise.

Determining if the Static control of a report is of type Markdown Hide the details

<Result> = <Static control>.Markdown
<Result>: Boolean
  • True if the specified element is of type Markdown,
  • False otherwise.
<Static control>: Control name
Static control of a report.

Setting the type of a Static control to Markdown Hide the details

<Static control>.Markdown = <Type>
<Static control>: Control name
Static control of a report.
<Type>: Boolean
  • True if the specified element must be of type Markdown,
  • False otherwise.
Remarks

Special case: Edit control

Just like all the other controls, Edit controls can support Markdown formatting. To display Markdown content in an Edit control, choose "Markdown read-only". For more details, see Markdown.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/07/2024

Send a report | Local help