View Single Post
  #18 (permalink)  
Old May 12th, 2004, 03:43 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Quote:
quote:Since I've got this code working as desired now, it's mostly a matter of curiosity rather than any pressing need to understand.
Yeah, same here. It's quite interesting to find out the underlying principles of these seemingly easy tasks. I often seem to pick up something useful that comes in handy somewhere down the road.

The SelectedIndex *is* strange. You should indeed be able to set the index with an Integer, as the property is of type Integer. Anything greater than -2 and less then the number of items -1 should be acceptable.

Oh, well, like you said: one for the "collection of .NET tricks"....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Ron Howerton (February 22nd, 2013)