Delphi中Combobox.Items.IndexOf用法


本文整理自网络,侵删。

  

self.cboSex.ItemIndex:=cboSex.Items.IndexOf(FieldByName('Sex').AsString);
self.dtpBirthday.Date:=FieldByName('Birthday').Value;
self.cboWork.ItemIndex:=cboWork.Items.IndexOf(FieldByName('WorkCaption').AsString);
self.cboRelation.ItemIndex:=cboRelation.Items.IndexOf(FieldByName('RelationCaption').AsString);

相关阅读 >>

Delphi 解决idhttp下载数据时程序无响应的问题

Delphi 使用钩子函数 - 数据传递

Delphi kbmmemtable的简单应用(增删改查示例)

Delphi 16 进制转换为 10进制

Delphi 调用api.ocr.space的ocr接口

Delphi xe 制作的萤光时钟,可改作屏保

Delphi 通过 shgetspecialfolderlocation、shgetpathfromidlist 函数获取常用路径

Delphi 窗口跟随

Delphi encodeuricomponent

Delphi getprocesshandleasname 获取进程句柄

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...