PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
NumberColumn (Property)
In French: NombreColonne
..NumberColumn is used to:
  • Find out the number of columns in:
    • WINDEVWindows Mobile a multi-column List Box control.
    • a Table or TreeView Table control.
    • a Looper control.
    • a Radio Button control.
    • a Check Box control.
    • Versions 18 and later
      WINDEV a Pivot Table control.
      New in version 18
      WINDEV a Pivot Table control.
      WINDEV a Pivot Table control.
    • Versions 19 and later
      WINDEV a Combo Box Table control.
      New in version 19
      WINDEV a Combo Box Table control.
      WINDEV a Combo Box Table control.
    • Versions 19 and later
      a Dashboard control.
      New in version 19
      a Dashboard control.
      a Dashboard control.
    • Versions 20 and later
      WINDEV a Spreadsheet control.
      New in version 20
      WINDEV a Spreadsheet control.
      WINDEV a Spreadsheet control.
  • Modify the number of columns found:
    • in a multi-column List Box control. The number of columns in a multicolumn List Box control cannot be less than 2.
    • Versions 21 and later
      WINDEV in a Looper control.
      New in version 21
      WINDEV in a Looper control.
      WINDEV in a Looper control.
WINDEV Reminder: To assign the multicolumn property to a List Box or ListView control (standard display mode only):
  1. Display the description window of control ("Description" from the popup menu of control).
  2. In the "Details" tab, specify the number of columns in the "Number of columns" option.
Versions 16 and later
WINDEV Mobile This property is now available for the Windows Phone applications.
New in version 16
WINDEV Mobile This property is now available for the Windows Phone applications.
WINDEV Mobile This property is now available for the Windows Phone applications.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 20 and later
WEBDEV - Server codeWindows This property is now available in WEBDEV Server in read-only.
WEBDEV - Server codeLinux This property is now available for WEBDEV sites in Linux in read-only.
Android This property is now available for the Table controls in the Android applications.
iPhone/iPad This property is now available for the Table controls in the iPhone/iPad applications.
New in version 20
WEBDEV - Server codeWindows This property is now available in WEBDEV Server in read-only.
WEBDEV - Server codeLinux This property is now available for WEBDEV sites in Linux in read-only.
Android This property is now available for the Table controls in the Android applications.
iPhone/iPad This property is now available for the Table controls in the iPhone/iPad applications.
WEBDEV - Server codeWindows This property is now available in WEBDEV Server in read-only.
WEBDEV - Server codeLinux This property is now available for WEBDEV sites in Linux in read-only.
Android This property is now available for the Table controls in the Android applications.
iPhone/iPad This property is now available for the Table controls in the iPhone/iPad applications.
Versions 23 and later
PHP This property is now available for the PHP sites.
WEBDEV - Browser code This property is now available in browser code.
New in version 23
PHP This property is now available for the PHP sites.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for the PHP sites.
WEBDEV - Browser code This property is now available in browser code.
Example
// --Process for resizing the window
// If the width of the window is modified:
// - the width of list box is modified
LIST_MyList..Width = MyWindow..Width - 30
// - the number of columns found in the list box is modified
// according to the new window width
LIST_MyList..NumberColumn = LIST_MyList..Width/50
Syntax

Finding out the number of columns in a control Hide the details

<Number of Columns> = <Element Name>..NumberColumn
<Number of Columns>: Integer
  • Number of columns found in the specified multicolumn List Box control.
  • Number of columns found in the specified Table control.
  • Number of columns found in the specified Check Box or Radio Button control.
  • Versions 18 and later
    WINDEV Number of columns found in the specified Pivot Table control.
    New in version 18
    WINDEV Number of columns found in the specified Pivot Table control.
    WINDEV Number of columns found in the specified Pivot Table control.
  • Versions 19 and later
    WINDEV Number of columns found in the specified Combo Box Table control.
    New in version 19
    WINDEV Number of columns found in the specified Combo Box Table control.
    WINDEV Number of columns found in the specified Combo Box Table control.
  • Versions 19 and later
    Number of cells present in the width of the specified Dashboard control.
    New in version 19
    Number of cells present in the width of the specified Dashboard control.
    Number of cells present in the width of the specified Dashboard control.
  • Versions 20 and later
    WINDEV Maximum number of columns containing data (value or formula) in a Spreadsheet control.
    New in version 20
    WINDEV Maximum number of columns containing data (value or formula) in a Spreadsheet control.
    WINDEV Maximum number of columns containing data (value or formula) in a Spreadsheet control.
  • Number of columns found in the specified Looper control.
  • 1 if the specified element does not correspond to a control that can be processed.
<Element Name>: Character string (with or without quotes)
Name of control whose number of columns is requested.
WINDEVWindows Mobile

Modifying the number of columns found in a control Hide the details

<Control Name>..NumberColumn = <Number of Columns>
<Control Name>: Character string (with or without quotes)
Name of control to use:
  • Multi-column List Box control
  • Versions 21 and later
    WINDEV Looper control.
    New in version 21
    WINDEV Looper control.
    WINDEV Looper control.
<Number of Columns>: Integer
New number of columns.
For the list boxes, this number must be greater than 1 (a multi-column List Box control cannot be changed into a standard list box and conversely).
Remarks

Limits

..NumberColumn only applies to the:
  • WINDEVWindows Mobile Multicolumn List Box controls (listview displayed in standard mode).
  • Table or TreeView Table controls.
  • Radio Button controls.
  • Check Box controls.
  • Versions 18 and later
    WINDEV Pivot Table controls.
    New in version 18
    WINDEV Pivot Table controls.
    WINDEV Pivot Table controls.
  • Versions 19 and later
    WINDEV Combo Box Table controls.
    New in version 19
    WINDEV Combo Box Table controls.
    WINDEV Combo Box Table controls.
  • Versions 19 and later
    Dashboard controls.
    New in version 19
    Dashboard controls.
    Dashboard controls.
  • Versions 20 and later
    WINDEV Spreadsheet controls.
    New in version 20
    WINDEV Spreadsheet controls.
    WINDEV Spreadsheet controls.
  • Versions 21 and later
    WINDEV Looper controls.
    New in version 21
    WINDEV Looper controls.
    WINDEV Looper controls.
Java ..NumberColumn only applies to the following elements:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
Versions 20 and later
WEBDEV - Server codeWEBDEV - Browser codePHP ..NumberColumn only applies to the:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
  • TreeView Table controls.
  • Looper controls.
  • Dashboard controls.
New in version 20
WEBDEV - Server codeWEBDEV - Browser codePHP ..NumberColumn only applies to the:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
  • TreeView Table controls.
  • Looper controls.
  • Dashboard controls.
WEBDEV - Server codeWEBDEV - Browser codePHP ..NumberColumn only applies to the:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
  • TreeView Table controls.
  • Looper controls.
  • Dashboard controls.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment