Beijer Electronics (formerly QSI Corporation)
http://www.qsiforums.com/

_setFocus() function
http://www.qsiforums.com/viewtopic.php?f=6&t=3939
Page 1 of 1

Author:  ericmm85 [ Tue May 04, 2010 2:55 am ]
Post subject:  _setFocus() function

hi, i have an application running on a qterm-58 (uses keypad not touchscreen) where i am using some editboxes, and i can change the focus of the edit boxes pressing the shift key and then the arrow keys. What i want to do is to change the focus of the editbox to the next one when i finish to edit the current edit box. So i wont need to be changing between shift keys and pressing arrows, and insert data in a more comfortable way.

I saw a function of the keypad translator _setFocus() but i do not where to use it...

Regards,

Eric

Author:  Ron L. [ Tue May 04, 2010 8:12 am ]
Post subject:  Re: _setFocus() function

The EditBox has a "FinishEdit" event that might be a good place to change the focus.

Code:
func finishEdit()
    _setFocus(editbox_2)
endfunc

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/