PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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:
    • a Table or TreeView Table control.
    • a Looper control.
    • a Radio Button control.
    • a Check Box control.
    • Versions 19 and later
      a Dashboard control.
      New in version 19
      a Dashboard control.
      a Dashboard 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 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.
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.
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.
Versions 23 and later
PHP This property is now available for PHP sites.
WEBDEV - Browser code This property is now available in browser code.
New in version 23
PHP This property is now available for PHP sites.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for 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 the List Box is modified
LIST_MyList.Width = MyWindow.Width - 30
// - the number of columns in the List Box control 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> = <Control used>.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 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.
  • Number of columns found in the specified Looper control.
  • 1 if the specified element does not correspond to a control that can be processed.
<Control used>: Control name
Name of control whose number of columns is requested.
Remarks

Limits

The Property NumberColumn applies only to:
  • Table or TreeView Table controls.
  • Radio Button controls.
  • Check Box controls.
  • Versions 19 and later
    Dashboard controls.
    New in version 19
    Dashboard controls.
    Dashboard controls.
Versions 20 and later
WEBDEV - Server codeWEBDEV - Browser codePHP The Property NumberColumn applies only to:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
  • TreeView Table controls.
  • Looper controls.
  • Dashboard controls.
New in version 20
WEBDEV - Server codeWEBDEV - Browser codePHP The Property NumberColumn applies only to:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
  • TreeView Table controls.
  • Looper controls.
  • Dashboard controls.
WEBDEV - Server codeWEBDEV - Browser codePHP The Property NumberColumn applies only to:
  • Check Box controls.
  • Radio Button controls.
  • Table controls.
  • TreeView Table controls.
  • Looper controls.
  • Dashboard controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment