mierlp Posted August 2, 2018 Share Posted August 2, 2018 Hi I have a uniDBgrid, uniDBedit, datasource and a dbnavigator on the form. DB components are all linked to same datasource my query component (mydac) contains a OnBeforeInsert wich sets focus to the uniDBedit field Situation/behavior 1: 1. Add new record with dbnavigator, focus is set to unDBEDit and cursor (|) visible-.thats OK 2. After post with dbnavigator the focus is always set to uniDBGrid - i want focus on uniDBedit 3. Add new record with dbnavigator, the focus is on the uniDBedit but you DON'T see the cursor. The cursus (|) appears after you type a character Situation/behavior 2: 1. Repeat step 1 and 2 2. scroll unidbgrid 1 record 3. add new record with dbnavigaor, the focus is on the uniDBedit AND the cursor is visible Question? 1. how to set focus after saving record to the uniDBedit instead of unidbgrid ? 2. why is the behavior of the cursur and how make cursor Always visible ? I use Dephi Tokyo 10.2.2 / uniGui 1.10.0.1467 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 2, 2018 Administrators Share Posted August 2, 2018 Probably you need to try with latest build. We've done some fixes in this area. Sent from my SM-N950F using Tapatalk Quote Link to comment Share on other sites More sharing options...
mierlp Posted August 2, 2018 Author Share Posted August 2, 2018 Hi Farshad Just installed latest version...same behavior. Also tested with the existing demo DBnavigator with custom icons and put a dbedit field on form...same behavior as within my application Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 2, 2018 Administrators Share Posted August 2, 2018 Can you please send your test application to the support portal? Sent from my SM-N950F using Tapatalk Quote Link to comment Share on other sites More sharing options...
mierlp Posted August 3, 2018 Author Share Posted August 3, 2018 done Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.