ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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 ColumnWidth property is used to get and change the width of each column in a multi-column Looper control.
Remark: The width of the columns found in a Looper control is defined in the editor during the control description ("Column width" in the "Details" tab of the control description).
Example
// Increases the width of columns found in "LOOP_CustomerInfo"
LOOP_CustomerInfo.ColumnWidth = LOOP_CustomerInfo.ColumnWidth + 15
// Is equivalent to: LOOP_CustomerInfo.Width += 15
Syntax

Finding out the width of columns Hide the details

<Result> = <Looper control>.ColumnWidth
<Result>: Real
Width (in pixels) of the columns found in the specified Looper control.
<Looper control>: Control name
Name of the Looper control to be used.

Modifying the width of columns Hide the details

<Looper control>.ColumnWidth = <New width>
<Looper control>: Control name
Name of the Looper control to be used.
<New width>: Real
New width (in pixels) for the columns found in the specified Looper control.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help