我知道我可以很容易地收到消息
[CustomMessages]
AdditionalIcons=blablabla
使用此代码:
ExpandConstant('{cm:AdditionalIcons}');
获取AdditionalIcons
字符串消息。但是,我怎样才能在其中收到消息?
[Messages]
ButtonNext=huhu
ButtonInstall=bubu
我需要的是获取ButtonNext
,ButtonInstall
和其他值,并且无法使用以下代码获取这些值:
ExpandConstant('{cm:ButtonNext}');
如何查询这些值?
答案 0 :(得分:5)
尝试
SetupMessage(msgButtonNext);
通常,要使用的常量的名称(在本例中为msgButtonNext
)是msg +消息的名称(字符串连接)。