PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 AutoLineWrap property is used to:
  • find out whether the line wrap is automatically supported in a multiline edit control or in a column found in a table (or in a treeview table).
  • indicate the line wrap management mode in a multiline edit control or in a column in a table (or in a treeview table).
Versions 23 and later
This function is now available for the columns found in the Table and TreeView Table controls.
New in version 23
This function is now available for the columns found in the Table and TreeView Table controls.
This function is now available for the columns found in the Table and TreeView Table controls.
Example
// Modify the "Automatic line wrap" Check Box
EDT_MultilineText.AutoLineWrap = CBOX_AutoWrap
Syntax

Finding out whether the line wrap is automatically supported Hide the details

<Result> = <Control used>.AutoLineWrap
<Result>: Boolean
  • True if the automatic line wrap is enabled,
  • False otherwise.
<Control used>: Control name
Name of the control to be used:
  • Multiline edit control,
  • Versions 23 and later
    Column in a Table or TreeView Table control.
    New in version 23
    Column in a Table or TreeView Table control.
    Column in a Table or TreeView Table control.

Indicating the line wrap management mode Hide the details

<Control used>.AutoLineWrap = <Line wrap management>
<Control used>: Control name
Name of the control to be used:
  • Multiline edit control,
  • Versions 23 and later
    Column in a Table or TreeView Table control.
    New in version 23
    Column in a Table or TreeView Table control.
    Column in a Table or TreeView Table control.
<Line wrap management>: Boolean
  • True to enable the automatic line wrap on the control,
  • False to disable the automatic line wrap on the control.
Remarks
  • If the AutoLineWrap property is set to False, overflowing lines can be scrolled horizontally (with or without a visible scrollbar depending on the Edit control settings).
  • If the AutoLineWrap property is set to True, overflowing lines are split on several lines.
  • This property has no effect on a RTF control, HTML control or non-multiline edit control.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment