dialog

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**
**{**

**}**

Hi,

Can you please clarify me the doubts about this requirement.

  1. You want to display the dialog box ?

  2. If no, then why you are calling that dialog from class instead directly you can process the values.

Regards,

Abbas.I