User Tools

Site Tools


takecompletedprocess_process_individual_multiselect_elements_.htm
Navigation:  ABC Library Reference > EditMultiSelectClass > EditMultiSelectClass Methods >====== TakeCompletedProcess (process individual multiselect elements) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeCompletedProcess( selected,value,mark), VIRTUAL

blk2blue.jpg

TakeCompletedProcess Processes individual values selected for the EditMultiSelectClass object.
selected A LONG constant, variable or expression that identifies the current selected record in the MultiSelect list.
value A STRING constant, variable or expression that contains the value of the current selected record in the MultiSelect list.
mark A BYTE value that indicates that the currect selected item in the MultiSelect list is marked.

The TakeCompletedProcess is a virtual method used to process the individual elements of the multiselect EIP interface. It can be used to override or replace values processed in the SerializeValue method.

Implementation:

The EditMultiSelectClass.TakeEvent method calls the TakeCompletedProcess method for each value selected in the multiselect list. Currently, there is no template-generated code contained in the TakeCompletedProcess method. To process multiple items selected, the SELF.UseVar property of the EditClass is assigned the selected values, with appropriate parsing and delimiters added as necessary.

Example:

EditInPlace::HOTS:Facilities.TakeCompletedProcess PROCEDURE|

(LONG pSelectedRecord,STRING Value,BYTE Mark)

 CODE

 ! Start of “Edit-In-Place Manager Executable Code Section”

 if SELF.UseVar = ''

  SELF.UseVar = Value

 else

  SELF.UseVar = CLIP(SELF.UseVar) & ',' & Value

 END

See Also: EditClass.UseVar

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