Working with General Visual Components > Classes > Dialog > Dialog.getOkButton
getOkButton();
The getOkButton method returns the OK button.
The OK button is an instance of the Button class.
The property use is given in description of the Dialog.getCancelButton method.
See also: