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
GUIWindow derived class property problem.
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="gljubojevic" data-source="post: 102082" data-attributes="member: 25140"><p>Hi !</p><p></p><p>I have class declared like this:</p><p>[CODE]public class FSVideoCut : GUIWindow, IRenderLayer[/CODE]</p><p></p><p>I create object like this:</p><p></p><p>[CODE]// Create and init window</p><p>this._videoCutWindow = new FSVideoCut();</p><p>this._videoCutWindow.Init();</p><p>// Set file to cut</p><p>this._videoCutWindow.CutVideoFile = filePath;[/CODE]</p><p></p><p>Why cant I acess value of property "CutVideoFile"</p><p>OnMessage "GUI_MSG_WINDOW_INIT" ?</p><p></p><p>When I pass value in class constructor everything works fine ...</p><p></p><p>Other question is, Why "GUIWindowManager.Add(ref win);" requires passing GUIWindow object by reference it is strange because object instance is allready reference ?</p><p></p><p>Thanks, I'm loosing my mind here <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p></blockquote><p></p>
[QUOTE="gljubojevic, post: 102082, member: 25140"] Hi ! I have class declared like this: [CODE]public class FSVideoCut : GUIWindow, IRenderLayer[/CODE] I create object like this: [CODE]// Create and init window this._videoCutWindow = new FSVideoCut(); this._videoCutWindow.Init(); // Set file to cut this._videoCutWindow.CutVideoFile = filePath;[/CODE] Why cant I acess value of property "CutVideoFile" OnMessage "GUI_MSG_WINDOW_INIT" ? When I pass value in class constructor everything works fine ... Other question is, Why "GUIWindowManager.Add(ref win);" requires passing GUIWindow object by reference it is strange because object instance is allready reference ? Thanks, I'm loosing my mind here :( [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
GUIWindow derived class property problem.
Contact us
RSS
Top
Bottom