The Help entry for the
rundialog statement includes the following:
"A form generally needs some special preparation to be used as a modal dialog. At a minimum, you probably want to include Ok and Cancel buttons. These buttons should be set up with a one line procedure:
In fact, any button contained in a dialog form should contain this one line procedure."
There are no examples of how or where this statement is used and I’ve tried all sorts of things to get it to work without success and I don’t understand what “any button contained in a dialog form should contain this one line procedure” means. Setting a button to trigger this statement does nothing visible.
I’m sure all of the entries relating to modal dialogs are useful to somebody who already knows how to use them but it’s a bit of a circular argument for a beginner.
Any advice is welcome.