Page tree

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.36
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download



Purpose

  • Required:  No
  • Type of Change:  Feature

Two new skin control attributes, <oninfo> and <onESC>, offer more flexibility to skinners to extend and improve navigation, particularly for sub-menus on Basic Home screens.

Description of Change

<oninfo> and <onESC> control attributes have been added to GUI control, and function much the same as <onfocus> and <onclick> attributes. Thus skins may combine these attributes with skin setting functions for control actions and navigation within GUI controls.

Although the feature is 'generic' and the attributes can be used with any GUI control, it is primarily designed for use with button controls.

Additional Information and References

 

Issue #:

MP1-4543

Related xml(s):

any but particularly BasicHome.xml

Windows IDs:

 

Related control:

GUI Control

Related Subsystem: 

 

Author:

ncoh

Date added:

Tue, 29 Jul 2014

XML/Code Samples

<!-- oninfo and onESC test -->
<control>
<type>button</type>
<id>660001</id>
<posX>100</posX>
<posY>150</posY>
<width>180</width>
<label>TEST 1</label>
<onup>660001</onup>
<ondown>660001</ondown>
<onleft>660001</onleft>
<onright>660001</onright>
<oninfo>#(skin.setfocus(cint(#currentmoduleid),660002))</oninfo>
<onESC>#(skin.setfocus(cint(#currentmoduleid),660005))</onESC>
</control>

Screenshots

 

 

   

 

This page has no comments.