Unit 'mui' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

MUIM_Export

Called on export object to dataspace

Declaration

Source position: mui.pas line 699

const MUIM_Export = $80420f1c;

Description

DoMethod(obj, MUIM_Export, [DataSpace: PObject_]);

DataSpace
- dataspace object to save the properties.

This method is called for each object in the application tree (including menus) during execution of MUIM_Application_Save. It's purpose is to export an objects "contents" to a dataspace object for later saving to an IFF file.

If you override this method to export your custom data, you are supposed to use your MUIA_ObjectID as ID for the dataspace entry. Don't export if your MUIA_ObjectID is 0.

Return 0 if you dont want your superclasses to be able to import/export any values themselves. Otherwise Result := DoSuperMethodA(cl,obj,msg);

See also

MUIA_ObjectID

  

MUIM_Import

  

Called on import object from dataspace

MUIM_Application_Load

  

MUIM_Application_Save

  


Documentation generated on: 2021-07-30