Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: TComboBox binding select item by fill value

Permlink Replies: 0
Alexandru Alexa...

Posts: 9
Registered: 8/4/12
TComboBox binding select item by fill value
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 3, 2017 8:01 AM

I am using RAD Studio 10.1 Berlin. I would like to know if it is possible to auto select an item based on the fill value (selected value, not text). I use a TLinkFillControlToField to bind the combo to a dataset (TDAMemDataTable) and set the FillDisplayFieldName and FillValueFieldName. The binding work fine, i get the value selected using LinkFillControlToField.BindList.GetSelectedValue.AsString. But i can't find a simple way to programmatically select the item based on that value.
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02