Jump to Real's How-to Main page

Specify objects to be save during a pfc_Save event

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})

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]