Processing the Received Data in the Window
The window receives the returned data from the dialog box as the return value from the Dialog_Box() function. The data can be processed based on requirements. In this sample code, properties are set in the calling window to set its BEGIN_DATE and END_DATE controls to the values passed by COLLECTORWINDOW.
rtnData = Dialog_Box("COLLECTORWINDOW", @window, CreateParam) if rtnData then convert @fm to @rm in rtnData ctrls = @window :'.BEGIN_DATE' : @rm : @window: '.END_DATE' props = DEFPROP$ : @rm : DEFPROP$ rtn = Set_Property( ctrls, props, rtnData) end