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

Summary: 'EDatabaseError' when trying to copy-paste a field in Lazarus
Product: TeeGrid for Delphi Reporter: yeray alonso <yeray>
Component: GridAssignee: david berneda <david>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://www.steema.com/support/viewtopic.php?f=21&t=17657
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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