Board logo

Subject: CnHashLangFileStorage.GetString如何用 [Print This Page]

Author: haiou327    Time: 2010-8-22 21:09     Subject: CnHashLangFileStorage.GetString如何用

CnHashLangFileStorage.GetString(‘TForm1.btn1.caption’,s);如何用,用变量S,我怎么得不到TForm1.btn1.caption的值
Author: haiou327    Time: 2010-8-22 21:12

搞定。
Hfs1.GetString('mes',s);
ShowMessage(s);

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

[ 本帖最后由 haiou327 于 2010-8-22 21:13 编辑 ]
Author: Passion    Time: 2010-8-24 19:54






Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0