Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2524 - 'EDatabaseError' when trying to copy-paste a field in Lazarus
Summary: 'EDatabaseError' when trying to copy-paste a field in Lazarus
Status: CONFIRMED
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: david berneda
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-28 06:12 EDT by yeray alonso
Modified: 2022-04-28 06:12 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2022-04-28 06:12:58 EDT
The 3 Lazarus/Database examples in GitHub give me a 'EDatabaseError' when trying to copy-paste a field, with the message:

Dbf1 : Operation not allowed, dataset "Dbf1" is not in an edit or insert state.

https://github.com/Steema/TeeGrid-VCL-FMX-Samples/tree/master/demos/Lazarus/Database

It still happens with TeeGrid1.ReadOnly set to True, which shouldn't even try to paste the contents of the clipboard.

Note the VCL/Database examples don't give any error in RAD Studio. The error seems to be specific to Lazarus/FPC.

https://github.com/Steema/TeeGrid-VCL-FMX-Samples/tree/master/demos/VCL/Database