Hi All,
 
Is it possible to do this?
 
 
i have a combobox filles with a bunch of items in it.
 
ie.
 
001 - my name
002 - my job
003 - my name is
004 - I like my job
 
 
what i want to do is, type in the combobox, and only show the items that
contains what i am typing
 
so when i type "job"
it only show 002 and 004
 
is this possible?
 
 
i tried this, but that ain't working
 
 
 
procedure Tfrmmanager.MyboxChange(Sender: TObject);
var
x : integer;
begin
for x := 0 to mybox.Items.Count  - 1 do
  begin
   if pos(Lowercase(mybox.text), LowerCase(mybox.Items.Strings[x])) > 0 then
      begin
      mybox.ItemIndex := x;
      end;
  end;
end;
 
 
 
thanks so much
 
    Perry
 


[Non-text portions of this message have been removed]

Reply via email to