[MonoDevelop] Is it possible to do the VS equivalent to E.CANCEL in a Gtk.Dialog ?

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Oct 8 00:33:16 EDT 2008


On Tue, Oct 7, 2008 at 10:59 PM, Brett Senior <brett_senior at yahoo.com.au> wrote:
> Chris & Michael,
>
>    Thank you for both responding to my question.  I had considered Michael's
> option but would rather that the dialog not be dismissed until all data is
> validated - and thus did not want to re-call the dialog when invalid data
> was there as I'd have to keep the data between invocations.  However,
> Chris's idea of using events to validate and then enabling the Ok button
> when all data is valid works !  Again, thank you both for your input.

Chris' suggestion is definitely better for usability, so I'd recommend
you take that route. However, I'd just like to clarify that calling
Run multiple times will not alter the state of the dialog's contents.
You'd have to explicitly reset them or create a new dialog for that.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list