1. 首页
  2. 编程语言
  3. 其他
  4. Delphi为StringGrid控件增加Combobox下拉框.rar

Delphi为StringGrid控件增加Combobox下拉框.rar

上传者: 2020-06-03 15:22:40上传 RAR文件 6.68KB 热度 26次
Delphi为StringGrid网格显示控件中增加下拉框功能,也就是在Grid控件中添加Combobox下拉列表的功能,在任意列显示一个ComboBox功能,如演示截图所示,可大大扩展Grid的功能。生成列表:   withSenderasTComboBoxdo   begin   hide;   ifitemindex>=0then   withStringGrid1do   Cells[col,row]:=Items[itemindex];   end;
下载地址
用户评论