4D v14Progress SET ON STOP METHOD |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
Progress SET ON STOP METHOD
Progress SET ON STOP METHOD
The Progress SET ON STOP METHOD method designates a method to execute when the user clicks on the Stop button of the progress bar. 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. In id, you pass the unique ID of the progress bar, returned by the Progress New method. In methodName, you pass the name of the project method of the host database to be called when the Stop button is clicked. This method receives the unique ID of the progress bar as its first parameter. Then it is executed in a new process launched by the component. Note: Since the Progress SET ON STOP METHOD method belongs to a component, you must remember to assign the "Shared by components and host database" property to the methodName method; otherwise an error is returned. |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO ARTICLE USAGE
4D Progress ( 4D v14) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||