PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
LooperDisplay (Function)
In french: ZoneRépétéeAffiche
Refreshes the display of a browsing Looper control from a given position: the modifications performed in the linked data file are applied to the Looper control.
Remark: LooperDisplay can be used on a browsing or memory Looper control.
WEBDEV - Server code The page containing the Looper control is refreshed.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Refresh "LOOP_ProductLooper" from the start of the control
LooperDisplay(LOOP_ProductLooper, taStart)
Syntax
LooperDisplay(<Looper control> [, <Position>])
<Looper control>: Control name
Name of Looper control to refresh.
If this parameter corresponds to an empty string (""), the Looper control to which the current event belongs is refreshed.
<Position>: Integer, character or constant (optional)
Indicates the start position for the refresh. If this parameter is not specified, the elements of Looper control are redisplayed from the current element in the Looper control.
This parameter can correspond to:
  • An integer. The refresh is performed from this position. The selected row is not modified. The event "Displaying a row" of <Position> is run. The current element in the Looper control is the same as the current record in the data file. If this integer is invalid (outside the authorized bounds), the call to LooperDisplay triggers an error.
  • A character or a constant:
    taCurrentSelection
    • Refreshes the Looper control from the position of selection bar in the Looper control.
    • The position of selection bar is not modified. The current record in the data file will correspond to the record selected in the Looper control (after LooperDisplay is called).
    PHP This constant is not available.
    Versions 16 and later
    PHP This constant is now available.
    New in version 16
    PHP This constant is now available.
    PHP This constant is now available.
    taCurrentFirst
    • Refreshes the Looper control from the current record in the data file.
    • The first row of Looper control is selected. This row corresponds to the current record of the Looper control.
    PHP This constant is not available.
    taStart
    (Default value)
    • Refreshes the Looper control by pointing to the beginning of Looper control.
    • The first row of Looper control is selected. This row corresponds to the first record of the Looper control.
      Remark: For a memory Looper control, the first element is not selected.
    taInit
    • Runs the initialization codes of Looper control (initialization code and end of initialization code).
    • Fills the Looper control.
    • The first row of Looper control is selected. This row corresponds to the current record at the end of initialization code of the Looper control.
    taPrevious
    • Redisplays the Looper control and point to the beginning of Looper control on the previous page (same as using the pager to access the previous page).
    • The first visible row of the Looper control is selected. This row corresponds to the current record of the Looper control.
    WINDEVLinuxAndroidWindows MobileUniversal Windows 10 AppPHP This constant is not available.
    taReExecuteQuery
    • Re-execute the query linked to the Looper contrl. See Tables and queries for more details.
    • Refreshes the Looper control by pointing to the beginning of Looper control.
    • The first row of Looper control is selected. This row corresponds to the first record of Looper control.
    Caution: Only the query linked to the Looper control is run. If specific options have been specified with HExecuteQuery (hModifyFile for example), these options are ignored.
    PHP This constant is not available.
    Versions 16 and later
    PHP This constant is now available.
    New in version 16
    PHP This constant is now available.
    PHP This constant is now available.
    taNext
    • Redisplays the Looper control and point at the beginning of the Looper control on the next page (same as using the pager to access the next page).
    • The first visible row of the Looper control is selected. This row corresponds to the current record of the Looper control.
    WINDEVLinuxAndroidWindows MobileUniversal Windows 10 AppPHP This constant is not available.
Component : wd250obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment