VLFormDesigner Reference

CPropertyBag

See Also See Also   Applies To Applies To

A CPropertyBag object is used to accept information for archival during form layout archiving using SaveLayout and reloading layout using LoadLayout

Using the methods of the CPropertyBag object, the you can read or write properties of the form and the contained controls. The ReadProperty method of the CPropertyBag object is used to read a value for a property, while the WriteProperty method of the CPropertyBag object is used to write a value of a property. The value of a property can itself be an object; in that case the PropertyBag object will attempt to save it.

CPropertyBag has following set of methods

Remarks

A CPropertyBag object is passed during SaveFormData, SaveControlData event order to save the form and control states, and during LoadFormData, LoadControlData events to restore the form and control states.