onclick Open the context menu information item for currently selected item?
#4
I use the following code to switch from one video to another from dialovideoinfo.xml

in dialogvideoinfo.xml :
 - in your item :

<onfocus>clearproperty(resumable)</onfocus>
<onclick condition="!integer.isequal(listitem.percentplayed,0)">setproperty(resumable,yes)</onclick>
<onclick>setproperty(action,show_informations)</onclick>
<onclick>action(ContextMenu)</onclick>        


in dialogcontextmenu.xml :

<onload condition="string.isequal(window(movieinformation).property(action),show_informations)">dialog.close(movieinformation,true)</onload>
<onload condition="string.isequal(window(movieinformation).property(action),show_informations)">action(down)</onload>
<onload condition="string.isequal(window(movieinformation).property(action),show_informations) + string.isequal(window(movieinformation).property(resumable),yes)">action(down)</onload>
<onload condition="string.isequal(window(movieinformation).property(action),show_informations)">action(select)</onload>
Reply


Messages In This Thread
RE: onclick Open the context menu information item for currently selected item? - by kpr57 - 2020-07-19, 19:20
Logout Mark Read Team Forum Stats Members Help
onclick Open the context menu information item for currently selected item?0