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 Plugins
"Calendar" plugin
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="Smirnuff" data-source="post: 21429" data-attributes="member: 10545"><p>Hi -</p><p></p><p></p><p></p><p>I'm not sure what it is that you are asking?</p><p></p><p>If its how do you link a control (such as a GUILabelControl) to an element described in the markup then you have one of two ways, the first and most verbose would be to do something like:</p><p></p><p>[code]</p><p> [SkinControlAttribute(2)]</p><p> GUIButtonControl _pauseButton;</p><p>[/code]</p><p></p><p>Alternatively you could bind an instance in markup to field in a class using the following code:</p><p></p><p>[code]</p><p> _tetris = GetControl((int)Controls.Tetris) as MyTetrisControl;</p><p>[/code]</p><p></p><p>If this doesn't answer your question please expand on your previous request and we shall do our best to help you out.</p><p></p><p>Cheers,</p><p>Smirnuff.</p></blockquote><p></p>
[QUOTE="Smirnuff, post: 21429, member: 10545"] Hi - I'm not sure what it is that you are asking? If its how do you link a control (such as a GUILabelControl) to an element described in the markup then you have one of two ways, the first and most verbose would be to do something like: [code] [SkinControlAttribute(2)] GUIButtonControl _pauseButton; [/code] Alternatively you could bind an instance in markup to field in a class using the following code: [code] _tetris = GetControl((int)Controls.Tetris) as MyTetrisControl; [/code] If this doesn't answer your question please expand on your previous request and we shall do our best to help you out. Cheers, Smirnuff. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
"Calendar" plugin
Contact us
RSS
Top
Bottom