6.8.11 DMcob_DataChanged
This function is used to signal that the value of the specified attribute (Model attribute) has changed on a particular Data Model (Model component). This change is put into event processing as a datachanged event. Not until further event processing the linked presentation objects (View components) are triggered to fetch the new data values and have them displayed.
call "DMcob_DataChanged" using DM-StdArgs DM-Value.
Parameters
<-> DM-options of DM-StdArgs
Option |
Meaning |
---|---|
0 |
There will be no tracing of this function. |
Activates tracing of this function. |
-> DM-object of DM-Value
This is the object ID of the Data Model object where a data value has changed. The object ID may be obtained as return value of the function DMcob_PathToID.
-> DM-attribute of DM-Value
This parameter indicates the attribute of the Data Model that has changed.
-> DM-index of DM-Value
-> DM-value-index of DM-Value
This parameter defines the index of the modified attribute.
Note
If no index shall be specified, DM-datatype of DM-Value has to be set to the value DT-void.
Availability
COBOL Interface for Micro Focus Visual COBOL only.