| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > BrowseClass > BrowseClass Methods >====== TakeNewSelection (process a new selection:BrowseClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[takekey process an alerted keystroke browseclass .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takescroll process a scroll event .htm|{{btn_next_n.gif|Next page}}]] | | || **TakeNewSelection, VIRTUAL, PROC** {{blk2blue.jpg|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**