CnPack Forum


 
Subject: CnHashLangFileStorage.GetString如何用
haiou327
新警察
Rank: 1



UID 50681
Digest Posts 0
Credits 26
Posts 9
点点分 26
Reading Access 10
Registered 2010-8-15
Status Offline
Post at 2010-8-22 21:09  Profile | Blog | P.M. 
CnHashLangFileStorage.GetString如何用

CnHashLangFileStorage.GetString(‘TForm1.btn1.caption’,s);如何用,用变量S,我怎么得不到TForm1.btn1.caption的值
Top
haiou327
新警察
Rank: 1



UID 50681
Digest Posts 0
Credits 26
Posts 9
点点分 26
Reading Access 10
Registered 2010-8-15
Status Offline
Post at 2010-8-22 21:12  Profile | Blog | P.M. 
搞定。
Hfs1.GetString('mes',s);
ShowMessage(s);

刚才没有给CurrentLanguageIndex赋值,难怪读出S是空值。

[ 本帖最后由 haiou327 于 2010-8-22 21:13 编辑 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2010-8-24 19:54  Profile | Blog | P.M. 
Top
 




All times are GMT++8, the time now is 2024-12-4 17:00

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.011524 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP