The UiDataSource class implements the UiDataSource development environment component that is used to connect data access components with visual components enabling to view and edit data.
Property name | Brief description | |
The Dataset property determines the data set, for which the UiDataSource component is a means of transferring information to visual data access components. | ||
The Enabled property determines whether it is possible to select a component when working with a form. | ||
The State property returns the current state of the data source. |
Property name | Brief description | |
ComponentCount | The ComponentCount property returns the number of child components located on the parent component. | |
Components | The Components property returns a child component, which index is passed via the input parameter. | |
Data | The Data property is used to store any custom data. | |
Name | The Name property determines the component name. | |
Tag | The Tag property is not used by the compiler. The user can change the value of this property and use it at his discretion. |
Method name | Brief description | |
The Edit method edits the data source. | ||
The IsLinkedTo method checks if the UiDataSource data source is linked to the Dataset data set. |
Event name | Brief description | |
OnDataChange | The OnDataChange event occurs on moving to another record and on changing the field value. | |
OnUpdateData | The OnUpdateData event occurs before saving the changed data to the database. |
See also: