Hi.
I'm searching for a way to use a property as hyperlink target. Something like
"#menu0.buttonlabel" is working as expected, no problem. But if I use #menu0.hlink it did not work (exceptionystem.NullReferenceException), mostly crashing MP completely. I've tried to use #menu0.hlink, cint(#menu0.hlink), (cint(#menu0.hlink)), nothing worked. If I'm using "onclick" I can get it to work with property, but onclick did not react on pushing, only on clicking (as name let expect)
As in Wiki hyperlink expects a string so normally "<hyperlink>#menu0.hlink</hyperlink>" should work
hyperlink [history] String
The id of the xml skin page that MP will load when the button is pushed
Bu the only way I found to really get it working is using "<hyperlink>1</hyperlink>". But this is nothing I can use as hyperlink target should be changeable by end-user.
Did someone know how to solve this?
I'm searching for a way to use a property as hyperlink target. Something like
Code:
<define property="true">#menu0.hlink:1</define>
<!-- On Push goto Television Main Screen -->
...
<control>
<description>Menu 0 button</description>
<type>button</type>
<hyperlink>#menu0.hlink</hyperlink>
<label>#menu0.buttonlabel</label>
</control>
"#menu0.buttonlabel" is working as expected, no problem. But if I use #menu0.hlink it did not work (exceptionystem.NullReferenceException), mostly crashing MP completely. I've tried to use #menu0.hlink, cint(#menu0.hlink), (cint(#menu0.hlink)), nothing worked. If I'm using "onclick" I can get it to work with property, but onclick did not react on pushing, only on clicking (as name let expect)
As in Wiki hyperlink expects a string so normally "<hyperlink>#menu0.hlink</hyperlink>" should work
hyperlink [history] String
The id of the xml skin page that MP will load when the button is pushed
Bu the only way I found to really get it working is using "<hyperlink>1</hyperlink>". But this is nothing I can use as hyperlink target should be changeable by end-user.
Did someone know how to solve this?