Hi all,

When a dataset is read-only, the db-aware controls allow editing. The
changes aren't send to the dataset, though. Which is very confusing for
the user.

I don't know how to fix it. I can change TDatalink.ReadOnly so that is
checks if the dataset is ReadOnly. But, for exmple, TDBEdit.Readonly
directly passes the result of TDatalink.Readonly. And I checked with
Delphi and there TDBEdit.Readonly is false, even if the TDataset is
readonly.

Alternative is to check in TDBEdit.IsReadOnly and relatives...

Any ideas what's the best approach?

Joost.

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to