VLFormDesigner Reference

EventSaveFormData

See Also See Also Applies To Applies To

This event occurs when form level data needs to be saved for the current layout.

 

Syntax

Private Sub object_SaveFormData (aPropBag As CPropertyBag)

 

The SaveFormData event syntax has these parts:

Part Description
object An object expression that evaluates to VLFormDesigner.
aPropBag An object of type CPropertyBag which will hold the data in the form of key, value pairs. You can add your own key value pairs using WriteProperty method of the property bag object.

 

Remark

This event will be triggered once when the SaveLayout or SaveLayoutEx is called.

This event allows you to store any form level information that you might want to store along with the form layout information. You will get an opportunity to read back this information through LoadFormData event when a layout is being read.