Page 1 of 1

SQLUpdate viisual editor in Kylix 3

Posted: 25.11.2006, 13:49
by prokicki
why doesn't the component TZUpdateSQL in the Kyliix wersion have a visual query editor?

P.

Posted: 25.11.2006, 23:52
by mdaems
Hi,

Maybe because we don't use Kylix and were not able to change the right packagefiles? No Idea.

Just have a look at how it's done in D7 and try to add them for kylix, please. We would be very happy to include it in our distribution. Just send us the changed files if you can manage.

Mark

Posted: 26.11.2006, 15:53
by prokicki
mdaems wrote:Hi,

Maybe because we don't use Kylix and were not able to change the right packagefiles? No Idea.

Just have a look at how it's done in D7 and try to add them for kylix, please. We would be very happy to include it in our distribution. Just send us the changed files if you can manage.

Mark
gimme a clue where about (file, no of line) is a code responsible for that editor, I'll try to do it on my own and i'll send it to u when it's done

Posted: 27.11.2006, 09:43
by mdaems
My clue (and I think it's very close :) ) :
Edit ZComponentreg.pas -> Make sure

Code: Select all

 RegisterComponentEditor(TZUpdateSQL, TZUpdateSQLEditor); 
is called for Kylix.
Edit ZComponent.dpk -> add

Code: Select all

 ZUpdateSqlEditor in '..\..\src\component\ZUpdateSqlEditor.pas' {ZUpdateSQLEditForm},
BTW : would you care synchronizing package layouts for Kylix with the D7/D2006 layout with the separate ComponentDesign packages (and other changes)? I don't think syntax differs very much, so it may be a quite easy job.

Thanks very much for your offer!!

Mark

Posted: 30.11.2006, 10:26
by aperger
Hi

It was not a requirements for me to do this... If it is ready I can test it and I will send you a reply.

Attila

Posted: 30.11.2006, 14:26
by aperger
Hi

I was not interested in to do this package modification.. but it is ready at the monent, but on FC4/Kylix 3 when I click on the TZUpdateSQL components to call it's on editor Access Violation is raising.

I attache my patch: patch_kylix_packeges_rev186.patch

Attila