The Wiert Corner – Sometimes, indexed properties can make your life much easier: they allow you to redirect single properties to central Get/Set methods. You don’t see it used very often, but when you need it, it is very handy. There is even some online help on it (look for “Index Specifiers”) it gives you the basics, but no compiling example. For me it works best when I have a complete, but concise example. So here is one: TMyIndexedPropertyComponent that has property Range1Value through Range4Value of type TRange, all centralized to one pair of read/write methods: GetRangeValue and ...
Visits by Source
Users who voted for this posting