Can I change the behaviour of OK dialog button?

I want to program the OK button on the dialog box, but I am not able to find the place where can I do this …

Do you have any clue?

Subject: Can I change the behaviour of OK dialog button?

Use True for NoCancel and NoOKCancel, then add your own buttons. You can select the button type on the properties dialog to create your own OK and Cancel buttons.

Subject: RE: Can I change the behaviour of OK dialog button?

Hm, this is the problem, I can not find a properties dialog … For instance, I have a properties for view, folder, form … But the dialog box do not have own containter for dialog boxes … Where can I find this?

Subject: RE: Can I change the behaviour of OK dialog button?

Not for the dialogbox, for the button on your form.