Hey, On Sat, 2005-04-30 at 15:14 -0600, Phil Durand wrote: > I should be able to easily go: > > ComboBox.Items.GetIndex(3); to return the third item in the combo > box's list.
There's something called the default index property (denoted
with /default/ keyword while defining it) in Delphi/OOP which makes this
even one-word shorter:
ComboBox.Items[3]
makes the use of Items collection just as easy as an array, by mapping
the index (3 in this case) to the get method of the default indexer
property. I'm totally unsure how this could be adopted for Collection
classes though.
Or am I talking about something totally irrelevant? :) If so, please
excuse this beginner.
--
.O.
..O Enver ALTIN | http://skyblue.gen.tr/
OOO Software developer @ Parkyeri | http://www.parkyeri.com/
signature.asc
Description: This is a digitally signed message part
