mierlp Posted July 18, 2018 Share Posted July 18, 2018 Hi I have a uniDBGrid and a uniDBedit on the form Both are connected to the same datasource. On the uniDBGrid is use the uniDBGridKeydown event with this code : if key=vk_home then begin dmBank.Bank.First; end; if key=vk_end then begin dmBank.Bank.First end; When i hit the END button...the uniDBedit contains the content of the LAST record BUT the uniDBGrid will NOT navigate to the last record. The same is when hitting the HOME button. BUT when i put a dbnavigator on the form and connect it to the same datasource and use the first/end buttons then it's working and the unidbgrid will move the the correct record. I use : - Delphi Tokyo 10.2 update 2 - uniGui 1.10.0.1467 - MySQL Data Acces Component (myDAC from devArt) 9.2.6 Link to comment Share on other sites More sharing options...
Sherzod Posted July 18, 2018 Share Posted July 18, 2018 Hi, Can you make a simple testcase (with ClientDataset..) ? Link to comment Share on other sites More sharing options...
mierlp Posted July 18, 2018 Author Share Posted July 18, 2018 Hi Delphi Developer Same result when using the example [DBLookupCombox - GridMode] This behavior is only when you set : WebOptions.Paged := False and use the navigation in code it WON'T work propertly with the dbnavigator it works When you set WebOptions.Paged := True and use the navigation in code it WILL work propertly The problem is...we would use a clean grid with no pages Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now