I would like some advice on how to build a modal pop up form in the following situation.
An event (entering an order with a cost that exceeds the availability of a certain customer) will open said form that is going to have 3 radio buttons to choose from.
I designed it so that the user cannot close it unless she chooses an option and then clicks on a button. By clicking on that button, a certain action will be carried out.
Firstly, I am not much certain as to how I can return the option picked by the user to the calling form so that the proper action is taken, (was thinking of a C-like return and a switch on calling form) plus I will take any advice you will feel like giving me.
An event (entering an order with a cost that exceeds the availability of a certain customer) will open said form that is going to have 3 radio buttons to choose from.
I designed it so that the user cannot close it unless she chooses an option and then clicks on a button. By clicking on that button, a certain action will be carried out.
Firstly, I am not much certain as to how I can return the option picked by the user to the calling form so that the proper action is taken, (was thinking of a C-like return and a switch on calling form) plus I will take any advice you will feel like giving me.