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
Screen Refreshing Issue (Plugin Development)
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="elhefe" data-source="post: 683736" data-attributes="member: 98500"><p>im lost in something so simple....</p><p></p><p></p><p>lets say a have a label and a button, and on the press of the button i need to do this: </p><p></p><p>Label.Label = "Text1"</p><p>System.Threading.Thread.Sleep(3000) <= or whatever function from an external dll I call, it's the same outcome</p><p>Label.Label = "Text2"</p><p>System.Threading.Thread.Sleep(3000)</p><p>Label.Label = "Text3"</p><p>System.Threading.Thread.Sleep(3000)</p><p>Label.Label = "Text3"</p><p></p><p>I thought I was going to see the label changing the text every 3 seconds, but it just hangs for 9 seconds and it then changes to Text3.</p><p></p><p>I tried different refreshes but I always have the same result? Anybody in the mood to help me out? I'd really appreciate it! And it frustrates me that not being able to do something so simple!!!!</p><p></p><p>Thanks in advance<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="elhefe, post: 683736, member: 98500"] im lost in something so simple.... lets say a have a label and a button, and on the press of the button i need to do this: Label.Label = "Text1" System.Threading.Thread.Sleep(3000) <= or whatever function from an external dll I call, it's the same outcome Label.Label = "Text2" System.Threading.Thread.Sleep(3000) Label.Label = "Text3" System.Threading.Thread.Sleep(3000) Label.Label = "Text3" I thought I was going to see the label changing the text every 3 seconds, but it just hangs for 9 seconds and it then changes to Text3. I tried different refreshes but I always have the same result? Anybody in the mood to help me out? I'd really appreciate it! And it frustrates me that not being able to do something so simple!!!! Thanks in advance:thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Screen Refreshing Issue (Plugin Development)
Contact us
RSS
Top
Bottom