ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Collapsed property is used to:
  • WINDEV get or define the state (collapsed or expanded) to be used when rows are added to a TreeView Table control.
    This property has no immediate effect but it is taken into account by TableAdd, TableAddLine, TableAddChild, TableInsert, TableInsertLine, TableInsertChild, ...
    The expanded status is the default status.
  • know or modify the wound/unwound status for:
    • the breaks of Table controls.
    • the breaks of Looper controls.
    • WINDEV the break headers and footers of Table and Looper controls.
    • WINDEV a Drawer control.
    • WINDEV a Ribbon control.
    • WINDEV a Pivot Table control in a report.
Example
WINDEV
// Définit l'état enroulé pour le prochain ajout dans le champ Table hiérarchique
TABLEH_Recette.Enroulé = True
// Insère une feuille "Crêpes" en 2ème position sous le noeud "Desserts"
TableInsertChild(TABLEH_Recette, "Desserts", 2, "Crêpes")
// -- Code de clic d'un champ Bouton 
// Ce code permet de enrouler ou de dérouler la rupture du champ Table 
// pour la ligne en cours selon son état 

TABLE_RupturesImbriquées.HautRupture3.Enroulé = ...
	NOT TABLE_RupturesImbriquées.HautRupture3.Enroulé
// -- Code de clic d'un champ Bouton 
// Ce code permet de enrouler ou de dérouler la rupture du champ Zone répétée 
// pour la répétition selon son état 

ZR_RupturesImbriquées.RUPT_HautRupture1.Enroulé = ...
	NOT ZR_RupturesImbriquées.RUPT_HautRupture1.Enroulé
Syntax

Identifying the Collapsed/Expanded state used when adding a new element in a control or the Collapsed/Expanded state of a control Hide the details

<Result> = <Control used>.Collapsed
<Result>: Boolean
TreeView Table control and breaks in Table controls
  • True if the Wrapped state is used for the next addition,
  • False otherwise.
WINDEV Drawer control
  • True if the Drawer control is rolled up,
  • False otherwise.
Break in Looper control
  • True if the break is coiled,
  • False otherwise.
WINDEV Ribbon control
  • True if the Ribbon control is collapsed. In this case, only the captions of the panes are displayed (like for a standard menu).
  • False otherwise.
<Control used>: Control name
Name of the control to be used.

Changing the Collapsed/Expanded state used when adding a new element or the Collapsed/Expanded state of a control Hide the details

<Control used>.Collapsed = <Collapsed/Expanded>
<Control used>: Control name
Name of the control to be used.
<Collapsed/Expanded>: Boolean
TreeView Table control and breaks in Table controls
  • True if the rolled-up state is to be used for the next addition,
  • False otherwise.
WINDEV Drawer control
  • Real to wind the Drawer control,
  • False to expand it.
Break in Looper control
  • Real to wrap the break,
  • False to unroll it.
WINDEV Ribbon control
  • True to collapse the ribbon.
  • False to expand it.
WINDEV

Finding out the display status of a Pivot Table control in a report Hide the details

<Result> = <Pivot Table control>.Collapsed
<Result>: Integer constant
Display status of rows and columns in the Pivot Table control in:
pvtAllCollapsedThe Pivot Table control found in the report displays the first level of the source control found in the window.
pvtAllExpandedThe report's Pivot Table control displays all the data of the source control present in the window: all rows and columns are scrolled.
pvtLikeTheControlThe report's Pivot Table control is identical to the source control in the window: displayed or wrapped rows are respected.
<Pivot Table control>: Control name
Name of the Pivot Table control to be used. This control is found in a report.
WINDEV

Modifying the display status of a Pivot Table control in a report Hide the details

<Pivot Table control>.Collapsed = <Display status>
<Pivot Table control>: Control name
Name of the Pivot Table control to be used. This control is found in a report.
<Display status>: Integer constant
Display status of rows and columns in the Pivot Table control in:
pvtAllCollapsedThe Pivot Table control found in the report displays the first level of the source control found in the window.
pvtAllExpandedThe report's Pivot Table control displays all the data of the source control present in the window: all rows and columns are scrolled.
pvtLikeTheControlThe report's Pivot Table control is identical to the source control in the window: displayed or wrapped rows are respected.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help