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
.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
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.
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
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