Newcomer search developper (1 Viewer)

Zarra

Portal Member
March 24, 2008
26
0
Home Country
Germany Germany
Hello all

I m a beginner in MP und i m developping a PlugIn that use 2 Skin


i m loading the new Skin with this Commands :

Load(GUIGraphicsContext.Skin + @"\Oberflaeche2.xml"); Restore(); LoadSkin();

that are working and load the second Skin but this second skin dont show any reaktion if i push off any button

please i need your help, if you can give me any Information or name of person who can help me

I m very Thankfull
 

cybrmage

Portal Pro
May 30, 2007
498
86
Home Country
Canada Canada
Your problem is with your skin file.... (at least if you are using the file that you posted in the other thread)...

You have the defaultcontrol set to "2", but you do not have a control with an id of "2"... If the defaultcontrol does not exist, the page will be unusable...
 

Zarra

Portal Member
March 24, 2008
26
0
Home Country
Germany Germany
Hello Cybrmage

Yes its the same project : ) i musst learn every command with th hard way : )

my second skin show :

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<id>8110</id>
<defaultcontrol>2</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<controls>
<control>
<description>BackGround</description>
<type>image</type>
<id>1</id>
<posX>0</posX>
<posY>0</posY>
<width>720</width>
<height>576</height>
<texture>background.png</texture>
</control>

<!-- anfang -->
<control>
<description>Header</description>
<type>image</type>
<id>1</id>
<posX>0</posX>
<posY>0</posY>
<width>720</width>
<height>70</height>
<texture>AGT_PluginHeader.png</texture>
</control>
</controls>
</window>


i change the <defaultcontrol> id yet with other number but it dont work. what must i do to have a control of the second skin .

Thanks
 

Users who are viewing this thread

Top Bottom