Page 1 of 1

TUniQueryEditor call error

Posted: Mon 03 Mar 2014 14:06
by AndreMurta
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

Re: TUniQueryEditor call error

Posted: Tue 04 Mar 2014 14:31
by AlexP
Hello,

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

Re: TUniQueryEditor call error

Posted: Thu 06 Mar 2014 12:59
by AndreMurta
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é

Re: TUniQueryEditor call error

Posted: Wed 12 Mar 2014 16:00
by AlexP
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.