PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

This page concerns the 23 + version of WINDEV, WEBDEV, WINDEV Mobile. Upgrade your version.
  • Overview
  • Managing the visibility by programming
  • Making a control invisible
  • Making a cell found in a Layout control invisible
  • Programming the Layout control
  • Available properties
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
Handling a Layout control by programming
Overview
A Layout control can be handled by programming. It can also be handled by programming:
  • the controls found in the Layout control,
  • the cells found in the Layout control.
This help page presents the different operations that can be performed.
Managing the visibility by programming

Making a control invisible

To make a control found in a Layout control visible or invisible, all you have to do is use ..Visible in the following syntax:
<Control Name>..Visible = <True/False>

Note: Operating mode of Layout control in "push the controls around" mode :
The cell found in the Layout control is automatically made invisible and the other cells found in the Layout control are automatically repositioned if the following conditions are fulfilled:
  • a control found in a Layout control is made invisible,
  • this control is the only one found in a cell or all the controls found in the cell of Layout control are invisible.
Notes:
  • If all the controls found in a Layout control are invisible, the Layout control becomes invisible.
  • WEBDEV - Server codeWEBDEV - Browser code ..Visible can be used in server code or in browser code. The operating mode on the controls and on the cells found in a Layout control is identical.

Making a cell found in a Layout control invisible

To make a cell found in a Layout control visible or invisible, all you have to do is use ..Visible on the cell in the following syntax:
<Control Name>[Cell Subscript]..Visible = <True/False>

Note: Operating mode of Layout control in "push the controls around" mode :
If a cell found in a Layout control is made invisible, all the controls found in the cell are automatically made invisible: the other cells found in the Layout control are automatically repositioned.
Notes:
  • If all the cells found in a Layout control are invisible, the Layout control becomes invisible.
  • WEBDEV - Server codeWEBDEV - Browser code ..Visible can be used in server code or in browser code. The operating mode on the controls and on the cells found in a Layout control is identical.
Programming the Layout control

Available properties

The following properties are specific to the Layout control:
Versions 23 and later
Layout
New in version 23
Layout
Layout
..Layout is used to find out and modify the layout of cells in a Layout control.
Versions 23 and later
MarginInterCell
New in version 23
MarginInterCell
MarginInterCell
..MarginInterCell is used to:
  • find out the margin between rows or columns in a Layout control.
  • modify the margin between rows or columns in a Layout control.
To find out the entire list of WLanguage properties that can be used with a Layout control, see Properties associated with the Layout control.
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment