The standard VCL data aware control has this behavior:
1. If no DataSource or DataField assigned to the control, the control is read only
2. If TDataSource.Dataset.Active = False, the control is read only
3. If TDataSource.AutoEdit = False, the control is read only
But the TDBSynEdit control doesn't confirm to this behavior. We can always enter text into the control even if no datasource or no data field assigned.
Is this a bug? Thank you.
Best Regards,
Chau Chee Yang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
The standard VCL data aware control has this behavior:
1. If no DataSource or DataField assigned to the control, the control is read only
2. If TDataSource.Dataset.Active = False, the control is read only
3. If TDataSource.AutoEdit = False, the control is read only
But the TDBSynEdit control doesn't confirm to this behavior. We can always enter text into the control even if no datasource or no data field assigned.
Is this a bug? Thank you.
Best Regards,
Chau Chee Yang
I'd say so.