Form.AttachDataChangeHandler
Syntax:
Parameters:
<DataName> (required)
Name of data (data path), to which any modifications must be tracked. This can show data connected with form attributes, table section, and subordinate data, i.e. attributes of these objects. For example, "Attribute1.Description".
The setting can contain only one data path, i.e. the method is used for one attribute.
<ProcedureName> (required)
Name of procedure enabled as data modification handler. Procedure should have one parameter so that, when enabled, the procedure will transmit the string, i.e. path to the modified data, using a structure similar to the <DataName> setting.
<TrackSubordinateData> (optional)
Defines whether or not the handler procedure must be enabled when modifying data subordinate to that assigned in the <DataName> setting, e.g. when modifying the data attributes.
Default value: False.
Description:
Availability:
Example:
AttachDataChangeHandler("TextBox1", "OnChange"); |
See also: