"Piske, Harald" wrote:
> 
> This is not a question, I just wanted to share a solution. When you have a
> treeview with a lot of entries (a hundred base nodes with dozens of branches
> each) and do a $Main->Tree->Clear (), this can clog up the CPU for a
> considerable time. Here's what's much faster 

Very elegant solution! :)

Mine is to hide the TreeView that I have to clear and in the
meantime, show another TreeView with some text that explains
that the computer is working. Then I hide this one and show the
primary TreeView...

not very elegant but it works and it is fast :)

-- 
$_=q,6;-16;-1;-8;0;7;-13;-12;-9;-3;13#4A75737420616E6F74686572,,($_,$b)=
split?#?;@b=split?;?;map{$c.=$_,$d.=chr$b[$e++]+ord}split??,pack'H24',$b
;chop$d,print$c.chr(32).$d

Reply via email to