TakeNewSelection (process EVENT:NewSelection events:FileDropComboClass)


Top  Previous  Next

 

TakeNewSelection( field ), VIRTUAL

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 FileDropComboClass object.

Implementation:

The ResetQueue method and the TakeEvent method call the TakeNewSelection method. If the FileDropComboClass 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:

FileDropComboClass.TakeEvent PROCEDURE

 

 CODE

 CASE EVENT()

 OF EVENT:NewSelection

   SELF.TakeNewSelection(FIELD())

   SELF.WindowManager.Reset

 END

See Also:     AddUpdateField, ResetQueue, TakeEvent