| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > FileDropClass > FileDropClass Methods >====== TakeNewSelection (process EVENT:NewSelection events:FileDropClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[takeevent process the current accept loop event filedropclass .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[validaterecord a virtual to validate records .htm|{{btn_next_n.gif|Next page}}]] | | || **TakeNewSelection( **//field //**), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **TakeNewSelection** | Processes the EVENT:NewSelection event. | | //field// | A numeric constant, variable, EQUATE, or expression containing the control number of the control that generated the EVENT:NewSelection event. | The **TakeNewSelection **method processes the EVENT:NewSelection event for the FileDropClass object. **Implementation:** The ResetQueue method and the TakeEvent method call the TakeNewSelection method. If the FileDropClass object's LIST generated the new selection event, then the TakeNewSelection method does the field assignments specified by the AddUpdateField method or clears the target fields if there is no valid selection. **Example:** **FileDropClass.TakeEvent PROCEDURE** **  CODE** **  CASE EVENT()** **  OF EVENT:NewSelection** **    SELF.TakeNewSelection(FIELD())** **  END** **See Also:     **[[addupdatefield specify field assignments .htm|AddUpdateField]], [[resetqueue fill filedrop queue .htm|ResetQueue]], [[takeevent process the current accept loop event filedropclass .htm|TakeEvent]]