TWebComboBox Bug

Hello,

I have one Bug report and one request for recommendation.

Place TWebComboBox on the form.
Add Following lines to the Items property

1000
ააა
ბბბ
abc
ddd

letters in the middle are Georgian letters in Uncicode.
You will see something like

1000აააბბბ
abc
ddd

Same thing happens with TTMSFNCComboBox.


and the second one :

Can you recommend any way to implement something like TWebDBLookupComboBox but with
ability to type text in it? Or TWebLookupComboBox?

Can't Use TTMSFNCEditButton, as actually, I can show only components from FNC.
But even so, can't control size of popuped components.(at least can't find how).

I know how to write my own component. I just ask if you have something ready and relatively simple to use.

Thanks,

We could reproduce this. It is an issue in IDE integration and we will investigate to fix this.

At this moment, we do not have an editable DBLookupComboBox.
Is this for adding text that doesn't match a lookup value or just for typing text incrementally?

Thanks.

  1. I doubt that it is IDE integration problem as I found this issue by adding values from code.

  2. I need filter Dataset while typing text and then will add new record manually if not found.
    Ideally I want something like you have on Support web page when dropped down has edit field with search button. (I just like how it looks).

Ilia

It is an IDE integration issue and we already applied a fix that will be included in the next release.

1 Like

I think your fix will solve it but Please check TWebEditAutoComplete too.

On Button click

WebEditAutoComplete1.Items.Clear;
WebEditAutoComplete1.Items.Add('aaaaa');
WebEditAutoComplete1.Items.Add('ბბბბბ');
WebEditAutoComplete1.Items.Add('aaaasss');
WebEditAutoComplete1.Items.Add('33334445455');
WebEditAutoComplete1.Items.Add('33334445455');

After this autoComplete doesn't work at all. Pop up doesn't show up
Ilia

Change your code to:

begin
WebEditAutoComplete1.BeginUpdate;
WebEditAutoComplete1.Items.Clear;
WebEditAutoComplete1.Items.Add('aaaaa');
WebEditAutoComplete1.Items.Add('ბბბბბ');
WebEditAutoComplete1.Items.Add('aaaasss');
WebEditAutoComplete1.Items.Add('33334445455');
WebEditAutoComplete1.Items.Add('33334445455');
WebEditAutoComplete1.EndUpdate;
end;

Just perfect!!! now it works.
Now new problem. OnChange event is raised only after Control looses the focus.
Is it correct?

I think it should be raised in moment when the text is changed or when pop up is closed.
thanks