4D v13

Progress SET BUTTON TITLE

Home

 
4D v13
Progress SET BUTTON TITLE

Progress SET BUTTON TITLE 


 

Progress SET BUTTON TITLE ( id ; title ) 
Parameter Type   Description
id  Longint in ID of progress bar
title  Text in Title of Stop button (Windows)

Note: This method can only be used under Windows. Under Mac OS, stop buttons do not have titles.

The Progress SET BUTTON TITLE method changes the title of the Stop button for the progress bar designated by the id parameter. By default, the title of this button is "Stop":

By default, progress bars do not have Stop buttons. If you want a progress bar to have one, you must use the Progress SET BUTTON ENABLED method.

Example  

You want to use the title "Abort":

 <>ID:=Progress New
 ...
 Progress SET BUTTON TITLE(<>ID;"Abort")

 
PROPERTIES 

Product: 4D
Theme: Progress bars

 
INDEX

Alphabetical list of commands

 
HISTORY 

 
SEE ALSO 

Progress Get Button Title