Navigation: ABC Library Reference > EditMultiSelectClass > EditMultiSelectClass Methods >====== Reset (reset the EditMultiSelectClass object) ====== | |
Reset
The Reset method resets the EditMultiSelectClass object.
Implementation:
The Reset method clears the Available and Selected items lists in the MultiSelect dialog. Use the AddValue method to refill these lists.
Example:
Edit:PR:ApplyTo.Init PROCEDURE(UNSIGNED FieldNumber,UNSIGNED ListBox,*? UseVar)
CODE
PARENT.Init(FieldNumber,ListBox,UseVar)
SELF.Reset
SELF.AddValue('Browse',INSTRING('Browse',SELF.UseVar,1,1)) !set multi-select choice
SELF.AddValue('Form',INSTRING('Form',SELF.UseVar,1,1)) !set multi-select choice
SELF.AddValue('Report',INSTRING('Report',SELF.UseVar,1,1)) !set multi-select choice
SELF.AddValue('Window',INSTRING('Window',SELF.UseVar,1,1)) !set multi-select choice
See Also: AddValue