2009-06-16, 16:45
Hi,
I try to create a new page in the PM3-HD skin :
To do a simple try, I just made a copy of "MyScript.xml" file that I have renamed as "MyTry.xml"
According to this wiki link, I JUST have changed the ID to use a free one. I choosed "10504".
So top of my "MyTry.xml" file is :
I made a button to link to this page as a first try. So, somewhere else, I have created a simple button with this code :
But it NEVER call the "MyTry" page. According to wiki, I tried several ways :
<onclick>ActivateWindow(504)</onclick> ---- does nothing
<onclick>ActivateWindow(10504)</onclick>---- does nothing
<onclick>ActivateWindow(MyTry.xml)</onclick>---- does nothing
<onclick>ActivateWindow(MyTry)</onclick>---- does nothing
<onclick>ActivateWindow(Custom6.xml)</onclick>---- does nothing
<onclick>ActivateWindow(Custom6)</onclick>---- does nothing
I also tried, according to this wiki link, the given example (IE : <id>4567</id>)
I also tried to define in "Includes.xml" the new page. But it never calls this f%=@&k page !
So I made another try, I changed to "ActivateWindow(504)"
And of course, it calls the correspoding page : MyMusic.xml page
I probably forgot to define something somewhere but what ?
Any help would be really appreciated
Thank you in advance
I try to create a new page in the PM3-HD skin :
To do a simple try, I just made a copy of "MyScript.xml" file that I have renamed as "MyTry.xml"
According to this wiki link, I JUST have changed the ID to use a free one. I choosed "10504".
So top of my "MyTry.xml" file is :
Code:
<window id="10504">
<defaultcontrol always="true">50</defaultcontrol>
<allowoverlay>no</allowoverlay>
<controls>
<include>CommonBackground</include>
<control type="group">
I made a button to link to this page as a first try. So, somewhere else, I have created a simple button with this code :
Code:
<control type="button">
<description>Call the MyTry page</description>
<posx>0</posx>
<posy>0</posy>
<width>1300</width>
<height>700</height>
<onclick>ActivateWindow(504)</onclick>
</control>
But it NEVER call the "MyTry" page. According to wiki, I tried several ways :
<onclick>ActivateWindow(504)</onclick> ---- does nothing
<onclick>ActivateWindow(10504)</onclick>---- does nothing
<onclick>ActivateWindow(MyTry.xml)</onclick>---- does nothing
<onclick>ActivateWindow(MyTry)</onclick>---- does nothing
<onclick>ActivateWindow(Custom6.xml)</onclick>---- does nothing
<onclick>ActivateWindow(Custom6)</onclick>---- does nothing
I also tried, according to this wiki link, the given example (IE : <id>4567</id>)
I also tried to define in "Includes.xml" the new page. But it never calls this f%=@&k page !
So I made another try, I changed to "ActivateWindow(504)"
And of course, it calls the correspoding page : MyMusic.xml page
I probably forgot to define something somewhere but what ?
Any help would be really appreciated
Thank you in advance