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

MUIM_Import

Called on import object from dataspace

Declaration

Source position: mui.pas line 620

const MUIM_Import = MUIB_MUI or $42d012;

Description

DoMethod(obj, MUIM_Import, [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_Load. It's purpose is to import an objects "contents" from a dataspace object after loading from an IFF file.

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

See also

MUIM_Application_Load

  

MUIM_Application_Save

  


Documentation generated on: 2021-07-30