User Tools

Site Tools


takekey_process_an_alerted_keystroke_browseclass_.htm
Navigation:  ABC Library Reference > BrowseClass > BrowseClass Methods >====== TakeKey (process an alerted keystroke:BrowseClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeKey, VIRTUAL, PROC

blk2blue.jpg

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