Hi All,
what is difference between Hide and visible=false ?
TIA

Re: question on visible and hide by Andrej

Andrej
Fri Nov 11 05:35:51 CST 2005

Hi,
Hide() method sets .Visible property to false, so there shouldn't be any
difference.

Andrej

<CobraStrikes@al.com> wrote in message
news:ze_cf.11449$lJ.7258@newsfe5-win.ntli.net...
> Hi All,
> what is difference between Hide and visible=false ?
> TIA
>
>



Re: question on visible and hide by Claes

Claes
Fri Nov 11 05:52:14 CST 2005

Nothing. Hide is implemented like this:

public void Hide()
{
this.Visible = false;
}

/claes

<CobraStrikes@al.com> wrote in message
news:ze_cf.11449$lJ.7258@newsfe5-win.ntli.net...
> Hi All,
> what is difference between Hide and visible=false ?
> TIA
>
>



Re: question on visible and hide by Herfried

Herfried
Fri Nov 11 06:31:43 CST 2005

<CobraStrikes@al.com> schrieb:
> what is difference between Hide and visible=false ?

There is no difference. I usually use 'Visible' when dealing with controls
and 'Show'/'Hide' when dealing with forms. However, that's my personal
preference only.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>