Re: [Lazarus] TComboBox with AutoComplete property

2013-06-15 Thread Johan Tu Toit
be... the form itself. Why don't you directly set the property? i.e. ComboBox1.AutoComplete := true; -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TComboBox-with-AutoComplete-property-tp4031889p4031893.html Sent from the Free Pascal - Lazarus

Re: [Lazarus] TComboBox with AutoComplete property

2013-06-15 Thread leledumbo
.989080.n3.nabble.com/Lazarus-TComboBox-with-AutoComplete-property-tp4031889p4031906.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

[Lazarus] TComboBox with AutoComplete property

2013-06-14 Thread Johan Tu Toit
Good day, I tried the above code on my onCreate procedure: if Sender Is TComboBox then with Sender As TComboBox do begin AutoComplete:= True; end; When I typed any letter on the TComboBox component, the AutoComplete property do not auto select any element on the list.

Re: [Lazarus] TComboBox with AutoComplete property

2013-06-14 Thread William Oliveira Ferreira
Normally we do that inside a tform.components loop Sorry about english mistakes _ William de Oliveira Ferreira Em 14/06/2013 04:04, Johan Tu Toit johan.tut...@gmail.com escreveu: Good day, I tried the above code on my onCreate procedure: if Sender Is TComboBox then with Sender As

Re: [Lazarus] TComboBox with AutoComplete property

2013-06-14 Thread leledumbo
OnCreate of what? For TForm, the Sender parameter would be... the form itself. Why don't you directly set the property? i.e. ComboBox1.AutoComplete := true; -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TComboBox-with-AutoComplete-property