Listbox yscrollcommand is executed when not called 
Author Message
 Listbox yscrollcommand is executed when not called

The sub 'scrolly' is being called during the intialization when the 'insert'
command is called.

 $frm1 = $mw->Frame (-height => 150, -width => 325, -relief =>
'groove', -borderwidth => 2, -container => 0)
  ->pack (-side => 'bottom', -expand => 0, -fill => 'x', -pady => 2);
 $lst1 = $frm1->Listbox (-width => 2, -height => 1, -yscrollcommand =>
\&scrolly)
  ->pack (-side => 'left', -expand => 0);
 $lst1->insert ('end', $swpinc); <======== sub scrolly is being called here.
is there any way to make that stop happening?
Or is that a bug??
....
....
...
...
MainLoop;



Thu, 05 Sep 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. yscrollcommand on scrolled widgets

2. setpgrp, setgid - not working, what am I missing?

3. Need a little Help to have a blank space (I am not a programmer)

4. Am I looking for something thats not there?

5. Need Perl help, but I am not a Perl Monger

6. Purl Gurl...I'm not learning any Perl, but I am laughing

7. Highlighting selections when listbox is not in focus?

8. SOLUTION to: Problem executing program from a Perl script called by HTTP Server

9. Problem executing program from a Perl script called by HTTP Server

10. PERLFUNC: syscall - execute an arbitrary system call

11. PERLFUNC: syscall - execute an arbitrary system call

12. Non-blocking DBI execute calls

 

 
Powered by phpBB® Forum Software