Messages by kwarnke

No topic yet, One message
Kuix technical support » Different screenfirstmenu in each tab items

If you want simply to change the text on a menu you can something like that:

First, enclose the text into a text widget:

 

<screenSecondMenu onAction="cancel">

    <text id="secondMenuText">%CANCEL%</text>

</screenSecondMenu>

Change the onAction called in onMessage():
this.screen.getSecondMenu().setOnAction("next");
Change the text displayed on second menu:
((Text) this.screen.getWidget("secondMenuText")).setText(Kuix.getMessage("NEXT"));