Vote UpVote

Delphi – indexed properties

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 ...
Favorite? Off-Topic? jpluimers @ 2009-07-23 13:12


Visits: 642
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Craig Stuntz
JC Chu
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)