Re: [ROOT] GUI question regarding using the "tab" to change widget focus

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Feb 13 2003 - 00:04:54 MET


Hi Michael,

  use the SetFocus() method of TGTextEntry of which TGNumberEntry
derives. See the attached example.

Cheers, Fons.


On Wed, 2003-02-12 at 22:58, Michael T. Gericke wrote:
> Hi,
> 
> I was wondering if anyone knows how to force a dialog box
> (TGTransientFrame) to switch focus from one of its widgets
> (say a TGNumberEntry widget) to another using the "Tab"
> button....
> 
> 
> Thanks,
> 
> Michael Gericke
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480





This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET