Exclude a class of a given name
Posted: Thu Jan 04, 2007 12:21 pm
One weakness in the exclusion facility tsiLang is the inability to exclude classes of a given type name. OK, you can exclude components (by name), component properties, and Component's Properties but what about ClassNames? For example we have applications with 2000 forms and we do not want our users to be able to edit any of the queries. So I would like to be able to add 'TQuery' to some sort of excluded classnames.
It is simply not feasible to go through every single form / datamodule and exclude objects of that given class - it would take forever - even with the tsiLang facilities provided. We use form / datamodule inheritance and so if we could specify classnames to exclude we could just put TQuery once in our base form TTsiLangRT component and it would propagate through.
It would be a very useful facility, adding great value to Si Components and from a technical level I can't see it would be very difficult to implement. Any chance this could be added?
Another thing worth pointing out is there are many occasions where there are too many things to exclude and it would be easier to specify "Inclusions". E.g. In some of our apps I may only want Top, Left, Width as extended properties that are changeable. To achieve this I have to exclude 1000s of properties, this seems a little ridiculous. Could this be addressed?
Paul
It is simply not feasible to go through every single form / datamodule and exclude objects of that given class - it would take forever - even with the tsiLang facilities provided. We use form / datamodule inheritance and so if we could specify classnames to exclude we could just put TQuery once in our base form TTsiLangRT component and it would propagate through.
It would be a very useful facility, adding great value to Si Components and from a technical level I can't see it would be very difficult to implement. Any chance this could be added?
Another thing worth pointing out is there are many occasions where there are too many things to exclude and it would be easier to specify "Inclusions". E.g. In some of our apps I may only want Top, Left, Width as extended properties that are changeable. To achieve this I have to exclude 1000s of properties, this seems a little ridiculous. Could this be addressed?
Paul