User Tools

Site Tools


resetfromitem_reset_entry_and_list_control_.htm
Navigation:  ABC Library Reference > FileDropComboClass > FileDropComboClass Methods >====== ResetFromItem (reset entry and list control) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

ResetFromItem(ItemNumber)

blk2blue.jpg

ResetFromItem Locates the search value within the first field of the display queue.
ItemNumber A string constant, variable, EQUATE, or expression containing the position of the target list box item.

The ResetFromItem method resets the File Drop Combo's entry field value based on the current record in the FileDropCombo list control. The target item in the list control is also selected.

If the ItemNumber is a negative value it will select and display the top item in the list box. If the ItemNumber is greater than the records in the queue, then it will select and display the last item in the list box. If ItemNumber is zero (0), the top of the list is selected and populated in the entry control.

Implementation:

The ResetFromItem method ideally can be called by the FileDropComboClass.TakeEvent method and the FileDropComboClass.TakeNewSelection method.

See Also:     GetQueueMatch

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