PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Multiline controls in a report
  • Limitations
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
In a window or page, the Multiline property is used to:
  • determine if an edit control supports multiline text or make it multiline-compatible.
  • determine if a table control supports multiline text or make a table column multiline-compatible. In order for the change to be taken into account, you must re-display the Table control (TableDisplay for example) or fill the Table control again.
In a report, the Multiline property is used to:
  • determine if a control supports multiline text
  • modify the "Multiline" option of a control.
Remarks:
  • The "Multiline" option is used to display the content of a control over several lines without truncating its content.
  • In the reports, the multiline option applies to the Static, Item, Calculated and Link controls. This option is located in the "Details" tab of the control description.
Example
// Does the "EDT_Address" control support multiline text?
ResMultiline = EDT_Address.Multiline
Syntax

Determining if a control supports multiline text Hide the details

<Result> = <Control used>.Multiline
<Result>: Boolean
  • True if the specified control supports multiline text,
  • False otherwise.
<Control used>: Control name
Name of the control to be used.

Modifying the "Multiline" option of a control Hide the details

<Control used>.Multiline = <Is multiline?>
<Control used>: Control name
Name of the control to be used.
<Is multiline?>: Boolean
  • True if the specified control must support multiline text,
  • False if the specified control must not support multiline text.
Remarks
Reports and Queries

Multiline controls in a report

If an orientation angle is applied to a multiline control in a report, the automatic carriage returns are ignored. Only the manual CR characters are taken into account.

Limitations

Reports and Queries In a report, the Multiline property applies only to:
  • Static controls,
  • Item controls,
  • Calculated controls,
  • Link controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment