Page 2 of 2

Posted: 06.02.2007, 22:23
by zsoca
Hello friends!

Here is the new version of the component and the demo. Install them as the previous version, just add the visual editor to your package too. In Object inspector edit the ParamLinkPairs property.

Best regards, Zsolt Balanyi

Posted: 28.02.2007, 00:39
by mdaems
Hi Zsolt,

I (finally) checked your component and demo. At first sight it looks good and (relatively) easy to configure. I'm thinking about adding it to the next version (6.7) as an integral part of the library but I don't have an icon. Do you have an idea?

One thing that must change however in my opinion. The confusing old linking fields. Once you choose for the new component you should treat it like a multimaster query and not abuse it as a normal ZQuery. We don't know how many people tried it already (oh yes, I see: just me as there's only one download). I suppose it will always be a rarely used thing, but it doesn't cost us much anyway as it reuses most of ZQuery code.

Mark

Posted: 28.02.2007, 17:18
by zsoca
Hi friends!

I will remove the old link, and probably rename the property I added, and write a small explanation on how to use it.
For the icon I think someone could draw it, and it could be a TZQuery table with 3-4 arrows pointing to it. I can not draw it, I am a programmer, not an artist :(

Hopefully final version is to come in a few days.

Best regards, Zsolt Balanyi

Posted: 28.02.2007, 21:56
by zsoca
Hi all!

I investigated the possibilities of making a query and a read-only query based on two different base classes, but that is not possible if I want to use the same property editor. If you want to include my contribution, you will need to include my code to ZAbstractRODataset, and then inherit the two classes TZMultiMasterQuery from TZQuery and TZMultiMasterReadOnlyQuery from TZReadOnlyQuery, and publish the ParamFieldLinks property in these classes.
Please answer me as soon as possible, because if this is not possible, I will need to develope my own branch.

Best regards, Zsolt Balanyi

Posted: 01.03.2007, 10:32
by mdaems
Why would you make both a readonly and an updateable component?
Apart from that, I would indeed have added your code to the ZAbstractRODataset and inherited that in the ZDataset unit. That unit is just intended to publish the right combination of properties for every component inheriting from the TZAbstract(RO)Dataset classes.

Mark

Posted: 01.03.2007, 13:36
by zsoca
Hi Friends!

I finished the two components, and the link editor. If you like it, draw icons for them, and modify them as you like it, but don't forget to modify the editor too!!
Take a look at it, it is really simple.

Best regards, Zsolt Balanyi

P.S: As I got involved with property editors, if there is similar job, just let know.