Focus on DBEditors

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mirkocutri
Posts: 10
Joined: Mon 15 Feb 2016 22:54

Focus on DBEditors

Post by mirkocutri » Mon 11 Apr 2016 21:43

Hi at all.
When I am in insert mode on TUniQuery and focusing a DBEditor, I loose the text previously written by command line like this:
DBEditField.Text := 'Test'; (when the focus goes to DBEditField the text property is canelled). Can I switch off this behaviour?
Thanks for your help.
M.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Focus on DBEditors

Post by AlexP » Tue 12 Apr 2016 05:13

Alexp,

We can't reproduce this behavior on the latest UniDAC version 6.2.10
Please send a complete sample to support*devart*com , and specify the IDE version.

mirkocutri
Posts: 10
Joined: Mon 15 Feb 2016 22:54

Re: Focus on DBEditors

Post by mirkocutri » Fri 15 Apr 2016 17:00

Hi Alex.
I tried to reproduce a simple example of that issue with TUniQuery and standard components and found the solution. It was not a TUniQuery problem but a not native DBEdit component problem. I solved also there, finding the right property to write the value into the edit field.
Sorry for wasting your time and thanks anyway for reply!
M.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Focus on DBEditors

Post by AlexP » Mon 18 Apr 2016 08:20

Glad to see that you have found the solution. If you have any other questions, feel free to contact us.

Post Reply