Re: a trouble to interrupt unlimit loop

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Aug 18 1999 - 16:58:14 MEST


Yongzhao Zhou wrote:
> 
> Hi, roots,
> I find a solution of my trouble by instruction of function ProcessEvent()
> to interrupt the loop that is push any key when canvas is active. Now a
> new quistion is how I can reload a eventhandle function in an unlimit
> loop such as how I can click a button names "stop loop" to stop the
> loop.


See an example in the Root class TTreeViewer. See definition of button
BREAK

Rene Brun



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