T
Tibor Meinczinger
Hi,
i have severeal modal dialogs and i am using the load
event for filling the widgets on the dialogs with some
data.
There are cases, when there is no data, so I would like to
show up a message and hide the dialog immediately.
I have tried to set the DialogResult (Besides the Load
event, I am using it everywhere, and it works), but it
doesn't work.
So my question is:
How can I hide a dialog in the Load event?
Thanks,
Tibor
i have severeal modal dialogs and i am using the load
event for filling the widgets on the dialogs with some
data.
There are cases, when there is no data, so I would like to
show up a message and hide the dialog immediately.
I have tried to set the DialogResult (Besides the Load
event, I am using it everywhere, and it works), but it
doesn't work.
So my question is:
How can I hide a dialog in the Load event?
Thanks,
Tibor