S:=Edit1.Text; for i:=0 to ListBox1.Items.Count-1 do begin if S=ListBox1.Items.Strings[i] then // 找到指定项 begin ListBox1.ItemIndex:=i; exit; end; end;
16,748
社区成员
33,247
社区内容
加载中
试试用AI创作助手写篇文章吧