4D v14Progress SET WINDOW VISIBLE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
Progress SET WINDOW VISIBLE
|
Progress SET WINDOW VISIBLE ( visible {; horPos ; vertPos {; foreground}} ) | ||||||||
Parameter | Type | Description | ||||||
visible | Boolean |
![]() |
True = Show, False = Hide | |||||
horPos | Longint |
![]() |
Left coordinate of window -1 = No change |
|||||
vertPos | Longint |
![]() |
Top coordinate of window -1 = No change |
|||||
foreground | Boolean |
![]() |
Show progress bar in foreground | |||||
The Progress SET WINDOW VISIBLE method manages the display of the progress bar window, if it exists.
The visible parameter indicates whether or not the window is visible (by default, it is visible). Pass False in this parameter to hide the window and True to show it again, if it exists.
The horPos and vertPos parameters modify the location of the progress bar window on screen. In these parameters, you pass values representing the movement in pixels to the right (horPos) or downwards (vertPos) with respect to the coordinates of the main application window (under Windows) or the screen (under Mac OS).
When you do not want to modify these coordinates (for instance, if you want to use the foreground parameter without changing the position of the window), pass -1 to each of these parameters.
Pass True in foreground when you want to force the progress window to the foreground of the application.
Place the progress bar window 50 pixels from the left edge and 100 pixels from the top edge:
Progress SET WINDOW VISIBLE(True;50;100)
Hide the progress bar window:
Progress SET WINDOW VISIBLE(False)
Product: 4D
Theme: Progress bars
4D Progress ( 4D v14)
4D Progress ( 4D v13)
4D Progress ( 4D v14 R2)
4D Progress ( 4D v14 R3)
4D Progress ( 4D v14 R4)