jeans_larghi Posted January 21, 2016 Posted January 21, 2016 Hi Farshad, working with latest release; Some issue and needs (all in the dbgrid): Tab or navigate in a dbgrid row while editing: Pressing tab or any key in a next/previous fields not go to editing; it works only with [enter] or [click] inside. dgInsert: Pressing the down arrow on last row is no longer possible to add automatically a new row in a dbgrid. UpdateRowDataset : it is very useful if you insert a method that update the underline dataset fields when leave a modified cell (optionally used on onexit of cell), so we can calculate or modify other fields in the record and show with RefreshCurrentRow(), WITHOUT post operation and WITHOUT exit from the row for update related fields (very useful on lookups, calculate and validate fields during edit). As Always.... partial fetch with scrollbars (infinite scroll)....advanced dblookups.... :-) Best Regard!!!
Administrators Farshad Mohajeri Posted January 21, 2016 Administrators Posted January 21, 2016 Hi, dgInsert: Pressing the down arrow on last row is no longer possible to add automatically a new row in a dbgrid. This feature was never implemented.
jeans_larghi Posted January 22, 2016 Author Posted January 22, 2016 Hi Farshad, I have assumed it as default :-)
jeans_larghi Posted January 22, 2016 Author Posted January 22, 2016 Hi Farshad, sorry... We obtain this feature via code (dgInsert) like this... if key = VK_DOWN then begin if DataSource1.DataSet.RecNo = DataSource1.DataSet.RecordCount then begin if not(DataSource1.State in [dsEdit,dsInsert]) then DataSource1.DataSet.Append; end; 1
Recommended Posts