Keep ComboBox opened(DroppedDown) while editing lazarus / 31-LCL ---------------------------------------------------------------------- staratel20 · 2016-03-19 11:14 Hi folks. I try to achieve very easy ComboBox behaviour - keep filtered items in opened ComboBox, but easy thing looks like tons of code. In easy attached example - behavior I need, but I don't like code. Also present some blinking. Can someone tell me 'right way'? ---------------------------------------------------------------------- balazsszekely · 2016-03-19 12:59 What about this one: http://stackoverflow.com/a/6668178 ---------------------------------------------------------------------- staratel20 · 2016-03-19 14:16 I was "on that levels" )). The problem of first example - bad height of dropped down list. Try to type something for 1 result, then backspace - combo list comes looks bad(DropDownCount property not helpful). And little arrows looks bad too. The 2nd example I modify for it work a bit better(like I need) , but problem of this example(and 3rd) - when we use ComboBox.Assign(TStrings)  - it auto close up. So at this time I understand that my solution is not so bad )). Any another ideas? ---------------------------------------------------------------------- balazsszekely · 2016-03-19 15:08 QuoteI was "on that levels" )). The problem of first example - bad height of dropped down list.Ok. Maybe your code is better then the one on stackoverflow(actually I did not checked). But why reinvent the wheel?  The autocomplete feature works well, is fast and you can achieve the same thing . ---------------------------------------------------------------------- staratel20 · 2016-03-19 16:01 With abstract examples - all good. But in real world - where the guarantee that the user remember first letter? In some cases user can even don't know first letter, and only can suspect a little part or full word, that he looking for in this list. For this case we work : ). ---------------------------------------------------------------------- balazsszekely · 2016-03-19 17:30 You have a lot of request Anyway, since I'm not interested in implementing such feature, this will be my last attempt(see attachment): Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.ComboBox1KeyPress(Sender: TObject; var Key: char);begin  if not Timer1.Enabled then    Timer1.Enabled := True;end; procedure TForm1.Timer1Timer(Sender: TObject);var  Str: String;  I: Integer;begin  Str := ComboBox1.Text;  for I := 0 to ComboBox1.Items.Count - 1 do  begin    if Pos(UpperCase(Str), UpperCase(ComboBox1.Items.Strings[I])) > 0 then    begin      ComboBox1.ItemIndex := I;      Break;    end;  end;  Timer1.Enabled := False;end; Drop down the combo, type something then wait. Feel free to adjust it to your needs. ---------------------------------------------------------------------- staratel20 · 2016-03-19 19:50 I thanks for any attempt). If I'm done some better be sure all will see it here)