Re: [ROOT] Tab-key

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Tue Mar 19 2002 - 14:00:36 MET


 Hi Ivan,

Ivan Kronkvist wrote:

> How can I get my ROOT-GUI program to capture the Tab-key and
> move to the next TextEntry field or button?
>

Check TabPressed signal

http://root.cern.ch/root/html/TGTextEntry.html#TGTextEntry:TabPressed

to move focus to another textentry use SetFocus method

http://root.cern.ch/root/html/TGTextEntry.html#TGTextEntry:SetFocus

To make "navigation" easy check also

http://root.cern.ch/root/roottalk/roottalk01/3233.html
ttp://root.cern.ch/root/roottalk/roottalk01/3232.html

HTH.    Regards.    Valeriy



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET