PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Operating mode
  • Special cases
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
Displays a popup in a page cell. If the cell already contains a popup, an animation is played during the transition.
Example
PopupAnimate(POPUP_Details, CELL_Main)
Syntax
PopupAnimate(<Popup Name> , <Destination Control> [, <Animation> [, <Duration>]])
<Popup Name>: Character string (with or without quotes)
Name of popup to display.
<Destination Control>: Character string (with or without quotes)
Name of Cell control where the popup will be displayed.
<Animation>: Optional integer
Animation used:
animScrollRightScrolling to the right of popup.
animScrollLeft
(Default value)
Scrolling to the left of popup.
animUnveilTopScrolling to the bottom of previous content while the popup is unveiled.
animOverlapTopScrolling to the top of popup while the previous content is overlapped.
<Duration>: Optional integer or optional Duration
Duration of animation in hundredths of a second (100 hundredths of a second which means 1 second by default). This parameter can correspond to:
  • an integer corresponding to the number of hundredths of a second,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (1 s or 10 ms for example).
    New in version 23
    the direct indication of duration (1 s or 10 ms for example).
    the direct indication of duration (1 s or 10 ms for example).
Remarks

Operating mode

When calling the function, if:
  • No popup is displayed in the cell:
    • The cell content is destroyed.
    • The popup is immediately displayed (without animation).
  • A popup is displayed in the cell:
    • The new popup is progressively displayed by using the specified animation.
The cell and the popup must comply with some characteristics:
  • The popup and the cell must be found in the same page.
  • The cell must be in invisible horizontal overflow.
  • The popup and the cell must have the same width.
  • The height of the popup must be at least equal to the height of the cell.

Special cases

  • During the first display of popup in the cell, the cell content is deleted.
  • If a popup is displayed in the cell, this popup can no longer be used by programming except with PopupAnimate.
  • The popup displayed is not stored when the page is re-displayed. If a server button (other than AJAX) is used to refresh the page, PopupAnimate must be called to redisplay the proper popup.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 17
Comments
Click [Add] to post a comment