delete('1.0','end') of Listbox dont clear it ... 
Author Message
 delete('1.0','end') of Listbox dont clear it ...

When I what to uddate a Listbox I use
delete ('1.0','end');


1
1
2
3
4
.
.
.

Is this a bug ? Any suggestions is welcome.

Jan Johnsen



Sat, 06 Jul 2002 03:00:00 GMT  
 delete('1.0','end') of Listbox dont clear it ...

Quote:
> When I what to uddate a Listbox I use delete ('1.0','end');

That's how one deletes from a Text widget.
Try $listbox->delete(0, 'end');

--
Marc Dashevsky  (remove "_" from address to reply by e-mail)



Sun, 07 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. What is pseudorandommy @chars=('a'..'z','A'..'Z','0'..'9','_');

2. Mysterious 'utf8_length: unaligned end' error

3. 'end of file' unexpected

4. Text, tags, and 'end'

5. unpack('x10','')

6. getservbyname('smtp','tcp') Problem

7. split on ':', but not '\:'

8. 'do'/'require' + parameters

9. Using my delete() alongside Perl's delete()??

10. qx, $! eq 'No child processes', SIG{CHLD}, undef, '', and 'DEFAULT'

 

 
Powered by phpBB® Forum Software