User Tools

Site Tools


takenewselection_process_event_newselection_events_filedropclass_.htm
Navigation:  ABC Library Reference > FileDropClass > FileDropClass Methods >====== TakeNewSelection (process EVENT:NewSelection events:FileDropClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeNewSelection( field ), VIRTUAL

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, ResetQueue, TakeEvent

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