Performs actions needed when the datasource in a control with the specified data link is changed.
Source position: dbctrls.pp line 1535
procedure ChangeDataSource( |
AControl: TControl; |
Link: TDataLink; |
NewDataSource: TDataSource |
); |
AControl |
|
Control notified in the routine. |
Link |
|
Data link updated in the method. |
NewDataSource |
|
Datasource assigned to the data link in the method. |
ChangeDataSource ensures that free notification messages are performed for the datasource in Link and the control in AControl. The value in NewDataSource is assigned to the DataSource property in Link.
| Version 4.4 | Generated 2025-11-08 | Home |