![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 8 of 8 total |
![]() |
Thu, May 18 2017 12:10 PM | Permanent Link |
thomh | Hi Tim,
If I set the TEditComboBox to ReadOnly I am unable to click on the button to drop down the list. // Thom |
Thu, May 18 2017 12:13 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Thom,
<< If I set the TEditComboBox to ReadOnly I am unable to click on the button to drop down the list. >> Yes, that is intentional. There really is no point to the drop-down list if the control is read-only. However, I might want to simply hide the button... Tim Young Elevate Software www.elevatesoft.com |
Thu, May 18 2017 12:47 PM | Permanent Link |
thomh | OK, Tim.
But at the moment that is the only way to make it possible for me to prevent users from writing anything into the control that is not in the drop down list I do not know if you remember but I had a post that asked if it would be possible to tie the text input to the drop down list, i.e. as you write it will search the drop down list for possible values. Like what happens when you start typing in a TListBox. // Thom |
Thu, May 18 2017 12:52 PM | Permanent Link |
Walter Matte Tactical Business Corporation | In keypress I can now do the dropdown
function TfrmDonor.EditComboBoxKeyDown(Sender: TObject; Key: Integer; ShiftKey, CtrlKey, AltKey: Boolean): Boolean; begin TEditComboBox(Sender).ShowDropDown; end; But I think this is missing - the "Fixed List" is not possible - maybe another property "Fixed List" - meaning they can only fill values from dropdown and not freely type anything. Walter |
Thu, May 18 2017 12:56 PM | Permanent Link |
Raul ![]() | On 5/18/2017 12:47 PM, thomh wrote:
> But at the moment that is the only way to make it possible for me to prevent users from writing anything > into the control that is not in the drop down list Why not use TButtonComboBox for fixed list ? You can limit the input in code relatively easily - tie into one of the keypress (keyup for example) events and validate. > I do not know if you remember but I had a post that asked if it would be possible to tie the text input to the drop down list, i.e. as you write it will search the drop down list for possible values. It does "find" the right items if you type partial/full entry and then open dropdown list If you open dropdown and then type first letter it will also iterate thru all entries with that letter. Raul |
Thu, May 18 2017 1:07 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Thom,
<< But at the moment that is the only way to make it possible for me to prevent users from writing anything into the control that is not in the drop down list >> That is the purpose of the TButtonComboBox control. It is implicitly read-only. << I do not know if you remember but I had a post that asked if it would be possible to tie the text input to the drop down list, i.e. as you write it will search the drop down list for possible values. >> I can add this as an enhancement. Tim Young Elevate Software www.elevatesoft.com |
Fri, May 19 2017 5:00 AM | Permanent Link |
Matthew Jones | Raul wrote:
> If you open dropdown and then type first letter it will also iterate thru all entries with that letter. FWIW, the code is actually there for it to match full words, not just the first letter. The timeout is way too fast though, so it ends up only first letters. Tim is publishing the time property in the next update so we can change it, and then you can do full searches. -- Matthew Jones |
Fri, May 19 2017 8:24 AM | Permanent Link |
thomh | Thanks everybody.
TButtonComboBox should do the trick for now. // Thom |
This web page was last updated on Tuesday, February 11, 2025 at 11:58 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |