4D v13Progress SET BUTTON ENABLED |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13
Progress SET BUTTON ENABLED
|
Progress SET BUTTON ENABLED ( id ; button ) | ||||||||
Parameter | Type | Description | ||||||
id | Longint |
![]() |
ID of progress bar | |||||
button | Boolean |
![]() |
True = Show, False = Hide | |||||
The Progress SET BUTTON ENABLED method adds a Stop button to the progress bar designated by the id parameter.
By default, progress bars do not have Stop buttons. If you pass True in the button parameter, then a button is displayed:
You must manage the effect of clicking on this Stop button using the Progress SET ON STOP METHOD method or by testing the value of the Progress Stopped method.
Product: 4D
Theme: Progress bars