I'm trying to convert an already existing dialog using tabs to use the MultiplePageDialog class.
In the existing code, each tab had buttons with the equivalent of "Ok" and "Cancel".
Since I didn't want to heavily edit all the existing code and I don't want two pairs of Ok and Cancel on each Page, I had the MultiplePageDialog not have a button panel.
What happens now is that when I click on the Ok and Cancel buttons in the dialog, nothing happens until I hit the "X" in the window frame.
How can I fix this? Do I have to try to dispose of the dialog? I don't want to change the code of the Ok and Cancel buttons.
And I don't actually want to dispose of the dialog, I want to hide it, sure, but not dispose of it.
Oh - and when I hit the "X" in the dialog's window frames, the dialog goes away briefly and then comes back immediately. So I can never get rid of it and my application is now useless.
Thanks.