Source language: Translate to:

GetObjectInfo improvement

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

GetObjectInfo improvement

Postby David de Argentina » Wed Mar 05, 2008 12:03 pm

Hi Dave,

I need trap some keywords within a program.
This keywords (like left or right arrow) can be used for several objects (like grids, menus, listbox, etc).
I need apply some different actions for each object.
I think GetObjectInfo "myobject" "HasFocus" "[var]" feature could be useful for this kind of control

Thanks in advance,
David de Argentina
User avatar
David de Argentina
 
Posts: 1560
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby Gaev » Wed Mar 05, 2008 12:43 pm

David de Argentina:

There is a Reserved Global variable for this ...
Code: Select all
[FocusedObject] The name of the object that has the input focus.
User avatar
Gaev
 
Posts: 3735
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Postby David de Argentina » Wed Mar 05, 2008 2:14 pm

wow !

Thanks Gaev !
User avatar
David de Argentina
 
Posts: 1560
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina


Return to NeoBook Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest