实现TXT导入ListView
来源:互联网 发布:淘宝supreme正品店 编辑:程序博客网 时间:2024/05/21 11:15
procedure TForm2.FormCreate(Sender: TObject);
var
{HtmlPath: string; }
F:TextFile;
s,S1,S2:string;
i:Integer;
begin
//得到TXT路径
s:= (ExtractFilePath(Application.ExeName)+'eMail\')+'eMail.txt';
assignFile(f,s);
reset(f);
while not eof(f) do
begin
readln(f,S);
i:=Pos('=',S);
S1:=Trim(Copy(S,1,I-1));//提取PID
S2:=Trim(Copy(S,I+1,length(S)-I)); //提取PWD
with Lv1.items.add do
begin
caption:=IntToStr(lv1.Items.Count);
SubItems.Add(S1);
if S2='1' then
begin
//读取并选中项
lv1.Items[lv1.Items.Count-1].Checked:=True;
end;
end;
end;
closefile(f);
end;
- 实现TXT导入ListView
- Excel txt导入导出到 LISTVIEW
- C#实现TXT文本数据批量导入SQL Server
- hive实现txt数据导入,理解hadoop中hdfs、mapreduce
- MapReduce编程实现txt文件中的内容导入HBase
- MapReduce编程实现txt文件中的内容导入HBase
- JAVA WEB 实现文件数据导入(CSV、TXT、excel)
- (转) C# ListView控件的数据导入、导出到txt文件
- listview导出到txt
- SQL导入导出txt
- txt 导入 sql2000
- mysql导入txt数据
- excel txt 导入 sql
- excel txt 导入 sql
- Flex TXT文件导入
- txt文件导入mysql
- MATLAB导入TXT文本
- txt文件导入数据库
- 轻松搞死linux,介绍/proc/sysrq-trigger的强大功能
- 用Visual C++操作INI文件
- ListView组件(属性设置)
- Windows标准控件
- Organization Defaults by Permission List
- 实现TXT导入ListView
- SSH2整合步骤
- 实现IP地址输入框
- 关于HTML5的预测
- android快速遍历目录及查找文件
- listview增加一个复选框
- 如何编写一个完整的Linux命令
- 设置 Ubuntu 联通宽带上网
- delphi中listview选择整行