riceman0
asked on
ItemData in VB.NET?
In VB 6.0, when you populated a combo box or list box, there was an indexed ItemData property that you could use to store some hidden info about each entry, for example a user ID that corresponded to the name text. I assume there has to be some equivalent in the .NET combo box, but I can't seem to find it. Can anyone out there help? Thanks...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Unbelievable. That is infuriating that they got rid of that. Let me add that to the list of ways they've broken visual basic:
a) myTextBox.Font.Underline = True FAILS! (I know how to do it, but it's ridiculous; why didn't they just implement an equals operator??)
b) edit and continue is far slower and much inferior to the VB6.0 version. in fact, mine's broken, it crashes the compiler after I use it
c) you have to fully qualify your enum values
d) no itemdata on combo boxes and list boxes
e) in general too complicated (e.g., "a" above); it defeats the purpose of VB
The IDE has some really nice features, and they got interoperability just right, but they've taken some step backwards in other areas.
Guess I'll go ahead and derive my own combo...