Home All Groups Group Topic Archive Search About
Author
16 Apr 2005 5:24 PM
Husam
Hi EveryBody:

How can I hide a dialog from abutton in the same dialog, I dont want to end
the program I just want to hide the dialog, How can I do that ?

Any help will be appreciated

regared's

Husam

Author
16 Apr 2005 6:04 PM
Chris
Husam wrote:
> Hi EveryBody:
>
> How can I hide a dialog from abutton in the same dialog, I dont want to end
> the program I just want to hide the dialog, How can I do that ?
>
> Any help will be appreciated
>
> regared's
>
> Husam

In the Button Click event run "Me.Hide"

Chris
Author
16 Apr 2005 6:24 PM
Herfried K. Wagner [MVP]
"Husam" <Hu***@discussions.microsoft.com> schrieb:
> How can I hide a dialog from abutton in the same dialog, I dont want to
> end
> the program I just want to hide the dialog, How can I do that ?

'Me.Visible = False' or 'Me.Hide()'.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
17 Apr 2005 12:16 AM
Dennis
If you used .ShowDialog to show the form, you can just set the dialog result
and the form will be hidden and control returned to whereever you showed the
dialog:
Me.DialogResult = DialogResult.OK


Show quoteHide quote
"Husam" wrote:

> Hi EveryBody:
>
> How can I hide a dialog from abutton in the same dialog, I dont want to end
> the program I just want to hide the dialog, How can I do that ?
>
> Any help will be appreciated
>
> regared's
>
> Husam