Tim Hewitt <[EMAIL PROTECTED]> wrote:
> I have a menu that brings up a dialog box. In that dialog box I have a bunch of
> fields that get filled out. If one of the fields has data that is out of range
> when the OK button is pressed, I throw up an alert, and would like to return to
> the dialog box.
> 
> Now the OK button has dismissed the dialog box, but that's OK, because I can
> just repost the menu event and come right back in, yes?

IMHO you are trying to solve the wrong problem. Why not test the fields 
and throw up the alert *before* you dismiss the dialog? That's the way 
I do it; the only time the OK button really dismisses the dialog is 
when all fields/controls/whatever have valid values/states.

--
Roger Chaplin
<[EMAIL PROTECTED]>

Reply via email to