Hi,
I'd like to change the name of my contextmenu during the virtual.
For instance, if you are in fullscreen mode, the caption is "go in windows mode", and if in windows mode : "go in fullscreen".
I've tried this with no success :
Code
<contextmenu fullscreen="false">
<item name="fullscreen" caption="Go in fullscreen" onclick="switch(fullscreen);" />
</contextmenu>
and
Code
<events onenterfullscreen="action(enterfs);"
onexitfullscreen="action(exitfs);"
/>
<action name="enterfs">
set(contextmenu.item[fullscren].caption,"windows mode");
</action>
any idea?