XP is just a number | |
PerlMonks |
How do I destroy a control after its creation in wxPerl?by ZJ.Mike.2009 (Scribe) |
on May 11, 2011 at 04:26 UTC ( [id://904074]=perlquestion: print w/replies, xml ) | Need Help?? |
ZJ.Mike.2009 has asked for the wisdom of the Perl Monks concerning the following question:
I've created a static text control inside the status bar control so that I can display colored text there like so:
But how do I destroy the text control so that I can display status text in the same position without getting blocked? I've tried: But it does not seem to have any effect. Any pointers? Thanks like always. UPDATE Thanks Anonymous Monks :) I had tried the Hide and Show methods before posting the question but it didn't seem to work. But now after playing around with the demo code you kindly offered here, I think I am able to get the hide and show to work as expected. Thanks :) But I'm still missing something obvious. The following code shows my problem: why I can't destroy the control?
UPDATE2 The hide and show methods seem to work:
Back to
Seekers of Perl Wisdom
|
|