Source language: Translate to:

Sortcut key on object

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Sortcut key on object

Postby smartmedia » Wed Apr 13, 2005 9:35 am

Hi...

I have an TextEntry box and i want when this TextEntry is Focused to be able to press a search button with the key Enter, but only when the spesific TextEntry is focused...

Any idea...

Thanks...
User avatar
smartmedia
 
Posts: 889
Joined: Fri Apr 01, 2005 6:50 am
Location: Hellas

Postby Gaev » Wed Apr 13, 2005 9:57 am

Smartmedia:
... but only when the spesific TextEntry is focused ...
NeoBook v5 has a new global variable ....

[FocusedObject] The name of the object that has the input focus.
... i want when this TextEntry is Focused to be able to press a search button with the key Enter,
... not sure what you mean here ... but if you have a (search) button with the shortcut of "Enter key", you can check for this global variable's content in its click section.
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron