设置使用MobGUI创建的按钮的标签名称

时间:2014-11-11 10:15:17

标签: user-interface button mobile label livecode

在实时代码中,您可以使用以下方式轻松设置按钮的标签:

      set the label of btn "test" to "This is a Test"

但是如何设置使用MobGUI创建的按钮标签?

1 个答案:

答案 0 :(得分:1)

MobGui按钮具有您可以获取和设置的mgText属性。

以下内容应允许您更改mobGui按钮的文本

set the mgText of group "test" to "this is a test"

有关此内容的更多信息,请参阅以下mobGui文档 -

http://mobgui.com/doc.php?docId=10