4D v13

Progress SET WINDOW VISIBLE

Home

 
4D v13
Progress SET WINDOW VISIBLE

Progress SET WINDOW VISIBLE 


 

Progress SET WINDOW VISIBLE ( visible {; horPos ; vertPos {; foreground}} )  
Parameter Type   Description
visible  Boolean in True = Show, False = Hide
horPos  Longint in Left coordinate of window
-1 = No change
vertPos  Longint in Top coordinate of window
-1 = No change
foreground  Boolean in 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)

Display the progress bar window and move it to the foreground without changing its position:

 Progress SET WINDOW VISIBLE(True;-1;-1;True)

 
PROPERTIES 

Product: 4D
Theme: Progress bars

 
INDEX

Alphabetical list of commands

 
HISTORY