Down key not appending grid

12 views
Skip to first unread message

gshelt...@gmail.com

unread,
Nov 20, 2024, 12:10:05 AM11/20/24
to Rosi Delphi Components
What would cause a grid not to append on down arrow?

I have a simple program with 3 grids on a form and none of them will append.

I tried a simple test dropped components on a blank form only setting DataSource, no other properties and all is fine.

Any Ideas??

Tomas Rosinsky

unread,
Nov 20, 2024, 6:22:13 AM11/20/24
to Rosi Delphi Components
Hi, 

datasource needs to be editable and property DBGrid.Options.dgEditing set to TRUE and then it should work.

Also check if you set OptionsEx2.Editors.BlockInsertByKey. It is by default FALSE but if you set it to TRUE then inserting is blocked.

    { block inserting of new record by insert or down key }
    property BlockInsertByKey: boolean read FBlockInsertByKey write FBlockInsertByKey default false;

I hope it helps
Tomas
Dne středa 20. listopadu 2024 v 6:10:05 UTC+1 uživatel gshelt...@gmail.com napsal:
Reply all
Reply to author
Forward
0 new messages