Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The window receives the returned data from the dialog box as the return value from the Dialog_Box() function.  The The data can be processed based on requirements.  In 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. 

Code Block
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

...