TUniQueryEditor call error

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
AndreMurta
Posts: 5
Joined: Tue 05 Feb 2013 09:26

TUniQueryEditor call error

Post by AndreMurta » Mon 03 Mar 2014 14:06

Hello,

I just installed UniDAC 5.2.7 on Lazarus 1.0.14 (64 bits) on Windows 8.1

I can open my projects used with the anterior UniDAC version without any problems, I'm able to compile these projects and their execution seems to be ok, but when I try to activate the UniQuery editor by clicking the "UniQuery Editor..." popup menu option, I'm receiving an error message like:

"The Editor component from class "TUniQueryEditor" called with the verb #1 "UniQuery E&ditor..." was created with the error:
"TControl.ChangeBounds loop detected
PageControl: TPageControl
Left=8, Top=8, Width=592, Height=351
NewLeft=8, NewTop=8, NewWidth=584, NewHeight=35..."

It seems a problem with the editor form constructor, but I have no clue about what is causing such error. I reinstaled Lazarus, deleting all my old UniDAC folders and placing only the 5.2.7 version in my libraries path, but the problem persists and cause a complete lock in Lazarus IDE, I have to kill the process using Windows Task Manager.
Any help is welcome.

Thanks

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

Re: TUniQueryEditor call error

Post by AlexP » Tue 04 Mar 2014 14:31

Hello,

Thank you for the information. We have reproduced the problem and will investigate the reasons for such behavior.

AndreMurta
Posts: 5
Joined: Tue 05 Feb 2013 09:26

Re: TUniQueryEditor call error

Post by AndreMurta » Thu 06 Mar 2014 12:59

Hi Alex,

Thanks for the reply.
Currently, it's not possible for me to continue to develop my project with version 5.2.7 due to this problem.
Please, let me know as soon as you guys have a solution for it.

Regards
André

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

Re: TUniQueryEditor call error

Post by AlexP » Wed 12 Mar 2014 16:00

This problem is due to the behavior of Lazarus when using the Resize overloaded method. Currently, to solve the problem, you can comment this this method in the UniQueryEditor module in the TUniQueryEditorForm class.

P.S. We are still investigating the problem.

Post Reply