Without knowing what VXMAINFORM is, your test script cannot run. But if I try qt demo > controls, tab key can move focus to the bottom buttons.
Чт, 08 авг 2013, Tom Arneson писал(а): > Bill, > > Sorry for the delay replying. I tried all options of wd 'set id focuspolicy' > and none did what I wanted. When I used click or no, the tab key wouldn't > move focus to that button. > > NB. --------------------------------------------------------- > vxmainform_run=: 3 : 0 > wd VXMAINFORM > NB. initialize form here > wd 'setcaption timestamp *',6!:0 'hh:mm:ss' > NB. try focuspolicy on 2013-08-02 in response to message from Bill Lam > NB. strong didn't seem to do anything, try click > NB. when set to click, tab wouldn't move to button, try no > wd 'set getnew focuspolicy tab' > wd 'set getnew focus' > wd 'set selftrade enable 0' > wd 'set processnew enable 0' > wd 'pshow;' > ) > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of bill lam > Sent: Thursday, August 01, 2013 20:08 > To: [email protected] > Subject: Re: [Jbeta] Qt wd button > > I think so. Can you try strong and tell us if it will works? > > Чт, 01 авг 2013, Tom Arneson писал(а): > > I want a button, which has focus, to run its code when the Enter key > > is pressed. I thought this worked under J6xx wd. > > > > > > > > Is focuspolicy something that would do this? > > > > > > > > From wiki: set id focuspolicy policy; policy is either click, no, > > strong or tab. > > > > > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
