4D v16

Progress SET TITLE

Home

 
4D v16
Progress SET TITLE

Progress SET TITLE  


 

Progress SET TITLE ( id ; title {; progress {; message {; foreground}}} ) 
Parameter Type   Description
id  Longint in ID of progress bar
title  Text in Title of progress bar
progress  Real in Value of progress ([0...1] or -1)
message  Text in Message of progress bar
foreground  Boolean in Show progress bar in foreground

The Progress SET TITLE method sets the title of the progress bar along with the information displayed in the progress bar window.

In id, you pass the unique ID of the progress bar, returned by the Progress New method.

In title, you pass the main text to display in the progress bar window.

In progress, you pass the current value of the progress bar (optional). You can pass a Real value (between 0 and 1) or -1 to specify an undefined progress bar (also known as a "Barber shop" bar under Mac OS).

In message, you pass additional text to display under the main title (Windows) or under the progress bar (Mac OS). This parameter is optional.

Pass True in foreground when you want to force the progress window to the foreground of the application.

Example  

Creating a simple progress bar window:

 $P:=Progress New
 Progress SET TITLE($P;"Copying folder";-1;"Counting files")



See also 

Progress Get Title

 
PROPERTIES 

Product: 4D
Theme: Progress bars

 
HISTORY 

 
ARTICLE USAGE

4D Progress ( 4D v16)