![]() |
combobox itemdata |
Post Reply ![]() |
Author | |
MikeM ![]() Newbie ![]() Joined: 23 January 2009 Location: Belgium Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 16 February 2009 at 9:56am |
Hi,
Is there a way to associate a user defined value to each combobox item and retrieve this value when selecting an item from the list ? I want to populate my combobox with values retrieved via SQL query (like SELECT label, id FROM table WHERE ...) The combobox list will display the "label" values and when I select an item, I want to get the corresponding ID. Is this possible ? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You need PropertyItemEnum item type.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
MikeM ![]() Newbie ![]() Joined: 23 January 2009 Location: Belgium Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
OK, thanks it works fine.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |