Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 为什么Translator没法更新词条
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 为什么Translator没法更新词条
wqyfavor
灌水科科长
UID 40865
Digest Posts 0
Credits 130
Posts 45
点点分 130
Reading Access 10
Registered 2008-9-2
Status Offline
#1
Post at 2009-1-1 14:58
Profile
|
Blog
|
P.M.
为什么Translator没法更新词条
按照多语说明书里的这个指导做
1.
建立一空工程,拖放一些可视化组件在上面。保存。
2.
拖一
TCnHashLangFileStorage
,添加一语言条目。
3.
拖一
TCnLangMgr
,
LanguageStorage
设置为刚才的
CnHashLangFileStorage1
。
4.
拖一
TCnLangTranslator
,双击打开翻译管理器,生成语言条目并翻译、保存。
5.
运行,代码中写
CnLanguageManager.CurrentLanguageIndex := 0;
即可看到翻译后的界面。其中
0
为第一个语言条目的索引号。
可以翻译,但添加几个按钮后在Translator里就不无法更新出来。用的Delphi2009
[
本帖最后由 wqyfavor 于 2009-1-1 17:14 编辑
]
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2009-1-1 19:08
Profile
|
Blog
|
P.M.
添加按钮后,重新打开Translater,选“更新”,有啥反应?
wqyfavor
灌水科科长
UID 40865
Digest Posts 0
Credits 130
Posts 45
点点分 130
Reading Access 10
Registered 2008-9-2
Status Offline
#3
Post at 2009-1-1 21:05
Profile
|
Blog
|
P.M.
什么反应都没有。点Update时我仔细观察StringGrid,发现它是会微微闪烁的,所以应该是无法获得窗体更新的内容。
[
本帖最后由 wqyfavor 于 2009-1-1 21:09 编辑
]
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:04
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009795 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