ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Looper control
  • Overview
  • Handling the break headers and footers
  • Functions associated with break headers and footers
  • Properties associated with the break headers and footers
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Properties associated with the breaks of a Looper control
Overview
Several properties can be used with the breaks headers and footers in a Looper control. These properties can be used in a window or in a page.
To use these properties, the syntax is as follows:
<Looper name>.<Name of break Header/Footer>..<Property name> = <Value>
or
<Name of break header/footer>..<Property name> = <Value>
Remark: These lines of code must be in the "Displaying a row of break header/footer" event.
Handling the break headers and footers

Functions associated with break headers and footers

The following functions are associated with the break headers and footers:
LooperBreakIndexReturns the index of the break header and footer for a given break in a Looper control.
LooperCollapseCollapses a break that was expanded beforehand in a Looper control.
LooperCollapseAllCollapses all expanded breaks in a Looper control.
LooperCollapseExpandOn a given row of a Looper control:
  • collapses a break (if it is expanded),
  • expands a break (if it is collapsed).
LooperExpandExpands a break in the Looper control on a given row.
LooperExpandAllExpands all breaks in a Looper control with break.

Properties associated with the break headers and footers

The following properties are associated with the break headers and footers:
  • WEBDEV - Server code In a page (server code):
    AliasThe Alias property is used to:
    • get or change the alias of a window (WINDEV and WINDEV Mobile).
    • get or change the alias of a dynamic tab (WINDEV).
    • get the internal HTML/JavaScript name of a control (WEBDEV).
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    FullNameThe FullName property is used to find out the full name:
    • of a control.
    • of a window.
    • of a menu option.
    • of a table column.
    HeightThe Height property is used to get and change the height:
    • of a control or block in a report.
    • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
    • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
    • of a break cell in a Table or Looper control.
    InitialVisibleThe InitialVisible property is used to determine if:
    • a control was visible during the first display of the associated window or page.
    • a window was visible during its first display.
    MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
    NameThe Name property is used to get:
    • the name of the font associated with a Font variable.
    • the name of a control, report or report block.
    • the name of a control, group of controls or window.
    • the name of a control, group of controls or page.
    ProcessThe Process property is used to modify the processes to be executed by the events available on a control, window, page, report, etc.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
    VisibleThe Visible property is used to:
    • Find out whether an element is visible.
    • Make an element visible or invisible.
  • WEBDEV - Browser code In a page (browser code):
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    InitialVisibleThe InitialVisible property is used to determine if:
    • a control was visible during the first display of the associated window or page.
    • a window was visible during its first display.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
  • PHP In a page (PHP):
    AliasThe Alias property is used to:
    • get or change the alias of a window (WINDEV and WINDEV Mobile).
    • get or change the alias of a dynamic tab (WINDEV).
    • get the internal HTML/JavaScript name of a control (WEBDEV).
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    HeightThe Height property is used to get and change the height:
    • of a control or block in a report.
    • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
    • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
    • of a break cell in a Table or Looper control.
    InitialVisibleThe InitialVisible property is used to determine if:
    • a control was visible during the first display of the associated window or page.
    • a window was visible during its first display.
    NameThe Name property is used to get:
    • the name of the font associated with a Font variable.
    • the name of a control, report or report block.
    • the name of a control, group of controls or window.
    • the name of a control, group of controls or page.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
    VisibleThe Visible property is used to:
    • Find out whether an element is visible.
    • Make an element visible or invisible.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help