"rbaut@ecs" <rbautista@ezecastlesoftware.com> schrieb:
> Hey guys, is there a WinForms equivalent to this Java AWT method?
I am not sure what exactly the method does, but maybe you are looking for
the control's or form's 'Visible' property:
\\\
If Me.Button1.Visible Then
...
End If
///

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
rbaut@ecs - 28 Dec 2006 18:12 GMT
Hi, java.awt.Component.isShowing() returns true only if the component
is visible AND actually showing. For example, if the component is
contained in a tab page and that tab page is not currently selected,
isShowing() will return false.
Is there a WinForms equivalent?
> "rbaut@ecs" <rbautista@ezecastlesoftware.com> schrieb:
> > Hey guys, is there a WinForms equivalent to this Java AWT method?
>
> I am not sure what exactly the method does, but maybe you are looking for
> the control's or form's 'Visible' property:
Rad [Visual C# MVP] - 28 Dec 2006 20:49 GMT
> "rbaut@ecs" <rbautista@ezecastlesoftware.com> schrieb:
>> Hey guys, is there a WinForms equivalent to this Java AWT method?
[quoted text clipped - 7 lines]
> End If
> ///
If i can remember correctly from my java days the isShowing() and
isVisible() have a very subtle difference. If a component is visible and is
put in a component that is not, say a JFrame, the component's isVisible()
will still return true but isShowing() will return false.
Another example is a popup menu. It isVisible() return true even when the
menu itself has not popped up.
Not sure if .NET has a direct equivalent for this.

Signature
Bits.Bytes
http://bytes.thinkersroom.com
Michael M. - 29 Dec 2006 17:46 GMT
I think "Visible" in VB.Net controls is just eqivilent to Wm_Hide, Wm_Show
API.functionality
It seems rBaut is need of something that will tell him the draw order or
something like that, if you put a text box over a Label the they will both
be visible but only the one with the highest Z order will be painted.
Im not sure if that is built in.
>> "rbaut@ecs" <rbautista@ezecastlesoftware.com> schrieb:
>>> Hey guys, is there a WinForms equivalent to this Java AWT method?
[quoted text clipped - 18 lines]
>
> Not sure if .NET has a direct equivalent for this.