BBjButton::setDisableOnClick
Description
In BBj 16.00 and higher, this method sets a boolean value indicating whether this BBjButton should be immediately disabled when the user clicks it.
Syntax
Return Value |
Method |
void |
setDisableOnClick(boolean disable) |
Parameters
Variable |
Description |
disable |
Specifies whether this button should be immediately disabled when the user clicks it. 0 = Don't disable on click (default). 1 = Disable this button when the user clicks it. |
Return Value
None.
Remarks
When clicking a button triggers a long-running action, the application might want to ensure that only a single click is processed. This can be an issue in high-latency environments when the user clicks the button multiple times before the application has had a chance to start processing the resulting action.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.