EhLib.Com https://forum.ehlib.com/en/ |
|
Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType https://forum.ehlib.com/en/viewtopic.php?f=5&t=1052 |
Page 1 of 1 |
Author: | Utzel [ 30 Jul 2020, 16:11 ] |
Post subject: | Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Hello, if I use the option "lsftContainsEh" for TDropDownBoxEh.AutoFilterType I was expected that I can type any text fragment to find one of the existing entries. But it's not as expected. Only the option "lsftBeginsWithEh" works. Could you fix this or do you have a workaround? Best greets |
Author: | EhLibSupport [ 30 Jul 2020, 17:50 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Hello Try to set TDBLookupComboboxEh.Style = csDropDownEh |
Author: | Utzel [ 30 Jul 2020, 20:24 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
I use TDBComboBoxEh like a static combobox without DB source. Items and KeyItems are filled programmatically and TextToListValues is set to true. |
Author: | EhLibSupport [ 30 Jul 2020, 20:49 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Hello Set TDBComboBoxEh.LimitTextToListValues = False. |
Author: | Utzel [ 30 Jul 2020, 21:32 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Sorry, but what is the use of this proposal? My user should not be able to enter their own entries. He should only be able to find the programmatically created entries, so LimitTextToListValues must be True. With option "lsftBeginsWithEh" for DropDownBox.AutoFilterType this works like expected, but the option "lsftContainsEh" is without any function. Otherwise, what is the point of this option if not the one I described? Otherwise, even with LimitTextToListValues = False, no entries can be found with "lsftContainsEh". |
Author: | EhLibSupport [ 01 Aug 2020, 02:38 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Hello Quote: Sorry, but what is the use of this proposal? My user should not be able to enter their own entries. He should only be able to find the programmatically created entries, so LimitTextToListValues must be True. Unfortunately, in the current version, this combination of properties (LimitTextToListValues=True + AutoFilterType=lsftContainsEh) is not fully supported. Quote: Otherwise, even with LimitTextToListValues = False, no entries can be found with "lsftContainsEh". I cannot confirm this problem. It works for me in all my TDBComboBoxEhs. |
Author: | Utzel [ 02 Aug 2020, 16:22 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Unfortunately, I didn't know that when I bought the component. For me it is important that the user can easily find the entries. Can you fix that in the next version? |
Author: | EhLibSupport [ 03 Aug 2020, 02:25 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Hello We have added this feature to the request list for the next versions of the library (EhLib 9.6 or EhLib 9.7). But we still need to estimate the amount of work. Although visually this flaw looks like it needs to be fixed, in reality DBComboBoxEh does not provide for typing in the middle of other text. The component will have to add a separate algorithm that will be responsible for this search method. |
Author: | Utzel [ 03 Aug 2020, 19:29 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
A simple customer list already requires the "lsftContainsEh" option if each entry consists of a customer number and customer name. The user not only wants to search for customer numbers, but also wants to be able to find customer names. It would be very nice if you could add that. The option is there and it would be nice if it worked too. Thank you very much. |
Author: | Luciano_F [ 25 Aug 2020, 13:17 ] |
Post subject: | Re: Bug in TDBComboBoxEh with TDropDownBoxEh.AutoFilterType |
Hello good day. I am also looking forward to this functionality that is very important to me. http://forum.ehlib.com/en/viewtopic.php?f=5&t=1039 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |