Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32::GUI - delete all labels?

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

I declare severall lables like,increasing $counter :
$main->AddLabel(-name =>$counter,-text => "$station",-font => $font2,-foreground => [0, 0, 0],-pos => [ 10, $y ]);

Then I want to delete all existing lables.
I try to loop through (1..$counter),but it does not work:
for (1..$counter) {
$_->Deactivate();
}

Will appreciate ideas.

Aslo will appreciate some link on good Win32::GUI examples/documentaion (the one I have found is not very informative).
thanks



Long live king Moshiach !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top