Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 建议在 "INI读写单元向导" 中增加部分内容。
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 建议在 "INI读写单元向导" 中增加部分内容。
Net2k
新警察
UID 67625
Digest Posts 0
Credits 4
Posts 1
点点分 4
Reading Access 10
Registered 2012-7-25
Status Offline
#1
Post at 2015-5-18 00:24
Profile
|
Blog
|
P.M.
建议在 "INI读写单元向导" 中增加部分内容。
我一般会在生成的文件后增加这样一段,能不能直接放到里面去?
initialization
IniOptions := TIniOptions.Create;
AppPath := ExtractFilePath(Application.Exename);
IniOptions.LoadFromFile(AppPath + ChangeFileExt(ExtractFileName(Application.ExeName), '.ini'));
finalization
IniOptions.SaveToFile(AppPath + ChangeFileExt(ExtractFileName(Application.ExeName), '.ini'));
IniOptions.Free;
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2015-5-18 11:08
Profile
|
Blog
|
P.M.
加载和存还是留给操作者自己控制吧,万一他不想结束时自动存呢。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 18:58
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007455 second(s), 9 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats