takekey_process_an_alerted_keystroke_browseclass_.htm
Navigation: ABC Library Reference > BrowseClass > BrowseClass Methods >====== TakeKey (process an alerted keystroke:BrowseClass) ====== | |
TakeKey, VIRTUAL, PROC
The TakeKey method processes an alerted keystroke for the BrowseClass object, including DOUBLE-CLICK, INSERT, CTRLENTER, or DELETE, and returns a value indicating whether any action was taken.
Implementation:
TakeKey returns one (1) if any action is taken, otherwise it returns zero (0).
The TakeEvent method calls the TakeKey method as appropriate. The BrowseClass.TakeKey method calls the Locator.TakeKey method as appropriate.
Return Data Type: BYTE
Example:
IF FIELD() = ?MyBrowseList !focus on browse list
IF EVENT() EVENT:AlertKey !if alerted keystroke
MyBrowse.TakeKey !BrowseClass object handles it
END
END
See Also: TakeEvent
takekey_process_an_alerted_keystroke_browseclass_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1