From: Erick J. B. <er...@e-...> - 2001-02-09 12:33:31
|
Is there a way of dynamically checking a labels visibility? Well, dynamically would be the same as statically, so really how can you test a label to check whether it is showing. Something sort of like this: if ( $MainWin->Label_1->Visible ) { ... } else { ... } However, this code doesn't work because there is no method "Visible" for a label. But, you can set the -visible option of a label to 0. How do you find out whether it's 0 or 1? erick never stop questioning www.jeb.ca |