|
|
|
|
- Special case: Edit control
Markdown (Property) In french: Markdown
The Markdown property is used to enable or disable Markdown formatting in the controls of a window or a report. New in version 2024For 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.
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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|