Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

How to determine which object has focus in VID....

 [1/2] from: kjomara:scienceus at: 10-Jan-2010 14:16


I would like to generate a tip calculator in REBOL. One of the features I would like is an "on-screen numeric keypad" that would enable UMIDs to enter prices on their touchscreen. However, to implement this, I need to know which text field currently has focus, as there will be a few. The user would give the text field the focus, and then click on the numeric on-screen buttons, which would eventually take away focus unless I captured the face 'down event on the button and determine which object currently has the focus at this moment. Any help would be appreciated. Thanks.

 [2/2] from: gregg:pointillistic at: 10-Jan-2010 14:54


Hi Kevin, KOM> ...I need to know which text field currently has focus, as there KOM> will be a few. Try system/view/focal-face, and holler if that's not enough information. -- Gregg