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.
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.
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.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.