Page 1 of 1

Focus on DBEditors

Posted: Mon 11 Apr 2016 21:43
by mirkocutri
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.

Re: Focus on DBEditors

Posted: Tue 12 Apr 2016 05:13
by AlexP
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.

Re: Focus on DBEditors

Posted: Fri 15 Apr 2016 17:00
by mirkocutri
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.

Re: Focus on DBEditors

Posted: Mon 18 Apr 2016 08:20
by AlexP
Glad to see that you have found the solution. If you have any other questions, feel free to contact us.