Share this page 

Specify objects to be save during a pfc_Save eventTag(s): PFC


The pfc_Save event uses the Window control array (by default) to get what are the objects to be updated and in what order. You can use the of_SetUpdateObjects() function to specify your array of objects to be updated. For example, the following will make sure that dw_2 is updated before dw_1.
this.of_SetUpdateObjects({dw_2, dw_1})
The same function is used to include objects which are not self-updateable by default, like n_ds for example. Be sure to call of_SetUpdateable(true) in the n_ds constructor.
this.of_SetUpdateObjects({dw_1, dw_2, ids_data})