Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: Cleaning TComboBox


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Feb 16, 2018 6:15 AM Last Post By: Eduardo Elias
Eduardo Elias

Posts: 2
Registered: 9/26/16
Cleaning TComboBox  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 13, 2018 8:08 AM
Hi there,

I have a TCombobox wired to bindsource via livebinding.

My need is to clean it (set to null) after the user selects something from the dropdown list.

There is the TClearButton for the TEdit that does that work in TEdits.

I want the same for TComboBox, all using magic (like on TEdit you just drop there the button) or livebinding, I am trying to keep the view without code.

If there is no way, please any piece of code that can do the work, without knowing the source data, to be generic would be also appreciated.

Thank you

Eduardo
Eli M

Posts: 1,346
Registered: 11/9/13
Re: Cleaning TComboBox  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2018 8:55 PM   in response to: Eduardo Elias in response to: Eduardo Elias
Use a TComboEdit instead?
Eduardo Elias

Posts: 2
Registered: 9/26/16
Re: Cleaning TComboBox  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 16, 2018 6:15 AM   in response to: Eli M in response to: Eli M
Eli M wrote:
Use a TComboEdit instead?

Is there DropDown List that can be connected with livebinding for TComboEdit ?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02