Dear all,
I have a form with command buttons ok and cancel.
I will call this form through class.The user will click ok to process values.
But i want to process the form with out user interaction.I mean the OK button should be activated automatically.
example:
In the below i dont want to include
**if (dialog.closedOK()) // this part i want to do automatically**
**{**
**}**