Diff of /skin.aeonmq5/720p/CustomSub6022.xml [0d2605] .. [d3bdef]  Maximize  Restore

Switch to side-by-side view

--- a/skin.aeonmq5/720p/CustomSub6022.xml
+++ b/skin.aeonmq5/720p/CustomSub6022.xml
@@ -2,9 +2,7 @@
 
 	<window id="6022" type="dialog"><!-- Meu Menu 2 -->
 	<defaultcontrol>-</defaultcontrol>
-	<onload condition="!StringCompare(Container(9000).numitems,0)">SetFocus(9000)</onload>
-	<onload condition="StringCompare(Container(9000).numitems,0)">SetFocus(9101)</onload>
-	<onunload>Skin.Reset(submode)</onunload>
+	<include>SubMenuCommon</include>
 	<controls>
 	<control type="group">
 	<include condition="Window.IsVisible(6000)">MenuCustom</include>
@@ -22,8 +20,8 @@
 	<property name="name">menu2201</property>
 	<property name="id">$INFO[skin.string(menu2201.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2201.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2201.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2201.master)) | SubString(skin.string(menu2201.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -32,8 +30,8 @@
 	<property name="name">menu2202</property>
 	<property name="id">$INFO[skin.string(menu2202.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2202.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2202.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2202.master)) | SubString(skin.string(menu2202.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -42,8 +40,8 @@
 	<property name="name">menu2203</property>
 	<property name="id">$INFO[skin.string(menu2203.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2203.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2203.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2203.master)) | SubString(skin.string(menu2203.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -52,8 +50,8 @@
 	<property name="name">menu2204</property>
 	<property name="id">$INFO[skin.string(menu2204.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2204.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2204.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2204.master)) | SubString(skin.string(menu2204.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -62,8 +60,8 @@
 	<property name="name">menu2205</property>
 	<property name="id">$INFO[skin.string(menu2205.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2205.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2205.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2205.master)) | SubString(skin.string(menu2205.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -72,8 +70,8 @@
 	<property name="name">menu2206</property>
 	<property name="id">$INFO[skin.string(menu2206.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2206.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2206.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2206.master)) | SubString(skin.string(menu2206.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -82,8 +80,8 @@
 	<property name="name">menu2207</property>
 	<property name="id">$INFO[skin.string(menu2207.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2207.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2207.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2207.master)) | SubString(skin.string(menu2207.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -92,8 +90,8 @@
 	<property name="name">menu2208</property>
 	<property name="id">$INFO[skin.string(menu2208.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2208.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2208.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2208.master)) | SubString(skin.string(menu2208.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -102,8 +100,8 @@
 	<property name="name">menu2209</property>
 	<property name="id">$INFO[skin.string(menu2209.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2209.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2209.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2209.master)) | SubString(skin.string(menu2209.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -112,8 +110,8 @@
 	<property name="name">menu2210</property>
 	<property name="id">$INFO[skin.string(menu2210.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2210.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2210.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2210.master)) | SubString(skin.string(menu2210.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -122,8 +120,8 @@
 	<property name="name">menu2211</property>
 	<property name="id">$INFO[skin.string(menu2211.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2211.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2211.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2211.master)) | SubString(skin.string(menu2211.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	<item>
@@ -132,8 +130,8 @@
 	<property name="name">menu2212</property>
 	<property name="id">$INFO[skin.string(menu2212.master)]</property>
 	<onclick condition="Window.IsVisible(6000)">SetFocus(5000)</onclick>
-	<onclick condition="Window.IsVisible(Home)">Close</onclick>
-	<onclick condition="Window.IsVisible(Home)">$VAR[value_menu2212.action]</onclick>
+	<onclick condition="Window.IsVisible(Home)">Dialog.Close(6022)</onclick>
+	<onclick condition="Window.IsVisible(Home)">Skin.SetString(submenu_action,$VAR[value_menu2212.action])</onclick>
 	<visible>![IsEmpty(skin.string(menu2212.master)) | SubString(skin.string(menu2212.visible),off)] | Window.IsVisible(6000)</visible>
 	</item>
 	</content>