User Tools

Site Tools


takenewselection_process_a_new_selection_browseclass_.htm
Navigation:  ABC Library Reference > BrowseClass > BrowseClass Methods >====== TakeNewSelection (process a new selection:BrowseClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeNewSelection, VIRTUAL, PROC

blk2blue.jpg

The TakeNewSelection method processes a new browse list item selection and returns a value indicating whether a window redraw is needed.

Implementation:

TakeNewSelection returns one (1) if a window redraw is needed, otherwise it returns zero (0).

The TakeEvent method calls the TakeNewSelection method when appropriate. The BrowseClass.TakeNewSelection method calls the appropriate Locator.TakeNewSelection method.

Return Data Type:     BYTE

Example:

IF FIELD() = ?MyBrowse               !focus on browse list

 IF EVENT() = EVENT:NewSelection     !if new selection

  MyBrowse.TakeNewSelection()        !BrowseClass object handles it

 ELSE                                !if other event

  MyBrowse.TakeEvent                 !BrowseClass object handles it

 END

END

takenewselection_process_a_new_selection_browseclass_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1