|
|
|
|
|
- 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. 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 Text control in a report, the Markdown property is used to: - determine if a Static Text control of a report is of type Markdown.
- set the type of a Static Text control in a report to Markdown.
- Note: Markdown is an option available for Static Text controls in reports. This option can be found in the "General" tab of the control description.
IF STC_Name.Markdown = True THEN
STC_Name.Visible = True
END
Syntax
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.
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 Text control of a report is of type Markdown Hide the details
<Result> = <Static Text control>.Markdown
<Result>: Boolean - True if the specified element is of type Markdown,
- False otherwise.
<Static Text control>: Control name Static Text control of a report.
Setting the type of a Static Text control to Markdown Hide the details
<Static Text control>.Markdown = <Type>
<Static Text control>: Control name Static Text 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|