AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The Collapsed property is used to:
  • WINDEVWEBDEV - Código ServidorAndroidiPhone/iPadPHP 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.
    • WINDEVWEBDEV - Código ServidorWEBDEV - Código Navegador a Drawer control.
    • WINDEV a Ribbon control.
    • WEBDEV - Código Navegador a Navigation Bar control.
    • WINDEV a Pivot Table control in a report.
Ejemplo
WINDEVWEBDEV - Código ServidorAndroidiPhone/iPadPHP
// Define the collapsed status for the next addition in the TreeView Table control
TVT_Recipe.Collapsed = True
// Insert a leaf ("Pancakes") at position 2 below the "Desserts" node
TableInsertChild(TVT_Recipe, "Desserts", 2, "Pancakes")
// -- Click code of a Button control etc 
// This code is used to collapse or expand the Table control break 
// for the current row according to its status 

TABLE_NestedBreaks.BreakHeader3.Collapsed = ...
	NOT TABLE_NestedBreaks.BreakHeader3.Collapsed
// -- Click code of a Button control etc 
// This code is used to collapse or expand the Looper control break 
// for the row according to its status 

LOOP_NestedBreaks.BRK_BreakHeader1.Collapsed = ...
	NOT LOOP_NestedBreaks.BRK_BreakHeader1.Collapsed
Sintaxis

Identifying the Collapsed/Expanded state used when adding a new element in a control or the Collapsed/Expanded state of a control Ocultar los detalles

<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.
WINDEVWEBDEV - Código ServidorWEBDEV - Código Navegador 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.
WEBDEV - Código Navegador Navigation Bar control
  • True if the central pane of the Navigation Bar control is collapsed.
  • 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 Ocultar los detalles

<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.
WINDEVWEBDEV - Código ServidorWEBDEV - Código Navegador 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.
WEBDEV - Código Navegador Navigation Bar control
  • True to collapse the central pane in the Navigation Bar control.
  • False to expand it.
WINDEV

Finding out the display status of a Pivot Table control in a report Ocultar los detalles

<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 Ocultar los detalles

<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.
Versión mínima requerida
  • Versión 11
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local