reset_position_to_the_first_element_.htm
Navigation: ABC Library Reference > ProcessClass > ProcessClass Methods >====== Reset (position to the first element) ====== | ![]() ![]() |
Reset, VIRTUAL
The **Reset **method postions the process to the first element in the result set and resets the progress indicators.
Member of: ProcessClass
Implementation:
The Reset method resets the RecordsProcessed property to zero (0), conditionally calls the SetProgressLimits method, then calls the ViewManager.Reset method.
Example:
** CASE EVENT()**
** OF Event:OpenWindow**
** Process.Reset !position to first record**
** IF Process.Next() !get first record**
** POST(Event:CloseWindow) !if no records, shut down**
** CYCLE**
** END**
**See Also: **SetProgressLimits, ViewManager.Reset
reset_position_to_the_first_element_.htm.txt · Last modified: by 127.0.0.1





