but when I select the item, I want a 'hidden' field to be available, such as:
'Red' 'Blue' 'Green'
Ideally I would like to do something like:
'R' 'B' 'G'
and be accessed:
MyCombo.AddItem('Red', 'R'); MyCombo.AddItem('Green', 'G'); MyCombo.AddItem('Blue', 'B');
Any ideas how I can achieve something resembling this?
HiddenValue := MyCombo.Items[MyCombo.SelIndex].Value;
From novice to tech pro — start learning today.