ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Various properties
  • 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. For reflect this change, refresh the Table control (with TableDisplay, for example) or populate 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
WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPadIOS Widget

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

WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPadIOS Widget In a report, the Multiline property applies only to:
  • Static controls,
  • Item controls,
  • Calculated controls,
  • Link controls.
WINDEVWINDEV Mobile In a window, the Multiline property applies only to:
  • Edit controls.
  • columns in the Table controls.
Java The Multiline property can only be used with Edit controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2023

Send a report | Local help