Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TComboBox and editing
Tue, May 28 2013 12:12 PMPermanent Link

Matthew Jones

In Delphi, I can make a ComboBox act as a fully editable text box, but with a list
that you can select from too. I don't seem to be able to do this in EWB. What I'd
like to do is have a few presets (URLs in this case) but allow the user to edit
them as appropriate. Thus I might put in www.elevatesoft.com as the predefined list,
but allow the user to enter /download at the end, and then press Enter to go there.
What happens is that I start typing the extra, and then it gets blatted back to the
list item. Is there a way, or should I create my own edit and list mechanism?

/Matthew Jones/
Tue, May 28 2013 3:45 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< In Delphi, I can make a ComboBox act as a fully editable text box, but
with a list that you can select from too. I don't seem to be able to do this
in EWB. What I'd like to do is have a few presets (URLs in this case) but
allow the user to edit them as appropriate. Thus I might put in
www.elevatesoft.com as the predefined list, but allow the user to enter
/download at the end, and then press Enter to go there. What happens is that
I start typing the extra, and then it gets blatted back to the list item. Is
there a way, or should I create my own edit and list mechanism? >>

I'll have to check this out - the TComboBox may need another property to
indicate if you want searching when AllowEdit=True.

Tim Young
Elevate Software
www.elevatesoft.com
Image