home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
control id question
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Frodo" data-source="post: 1700" data-attributes="member: 10277"><p>control id's are used by mediaportal to make a connection</p><p>between the layout (defined in the xml files) and the</p><p>functionality (defined in the sourcecode)</p><p></p><p>Say you have a play button with id = 4</p><p>then in the source code i know that if a button with id=4 is pressed</p><p>that we should start playing the file</p><p></p><p></p><p>Yes you can since a 'new control' has no functionality yet in the sourcecode.</p><p>However make sure you dont use an id which already is used in the xml file</p><p></p><p></p><p>In general yes. The idea is that id's are unique in one window</p><p>However not all controls have functionality behind it</p><p>(think of the background image) so you'll see that those ids</p><p>can be used more then once</p><p></p><p>Frodo</p></blockquote><p></p>
[QUOTE="Frodo, post: 1700, member: 10277"] control id's are used by mediaportal to make a connection between the layout (defined in the xml files) and the functionality (defined in the sourcecode) Say you have a play button with id = 4 then in the source code i know that if a button with id=4 is pressed that we should start playing the file Yes you can since a 'new control' has no functionality yet in the sourcecode. However make sure you dont use an id which already is used in the xml file In general yes. The idea is that id's are unique in one window However not all controls have functionality behind it (think of the background image) so you'll see that those ids can be used more then once Frodo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
control id question
Contact us
RSS
Top
Bottom