guides:programming:programmers_reference_manual:processing_the_received_data_in_the_window

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
  • guides/programming/programmers_reference_manual/processing_the_received_data_in_the_window.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1