gPad and focus ....

From: Dmitri Litvintsev (litvinse@cdfsga.fnal.gov)
Date: Wed Dec 08 1999 - 01:32:40 MET


Hi Rooters, 

I've discovered the following: 

 - I open two canvases (canvas1 and canvas2)
 - mouse points to canvas1 'drawable' area.  
 - I move cursor from canvas1 to the 'menu bar' of the  
   second canvas (canvas1) not 'touching' its 'drawable' area 
   
 now the focus in the second window - I choose 'Edit' -> 'Clear pad' 
 and the picture disappears from the FIRST canvas (canvas1). That 
 is apparently gPad is not redefined. 

 Would you suggest the easiest way to redefine gPad as soon as 
 the window, containing TPad, gets focus?
 
 I understand that the window should be first checked for the presense
 of TPad in it (since not every window has TPad).  

Dmitri Litvintsev

/----------------------------------------------------------\
| Tel:       (630) 840 5005                                |  
| FAX:       (630) 840 2968                                |      
| office:    169-E CDF Trailers                            |
| E-mail:    litvinse@fnal.gov                             |
\----------------------------------------------------------/



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET