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
Development
General Development (no feature request here!)
Check for dialog window
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="SilentException" data-source="post: 835681" data-attributes="member: 83924"><p>In reality it doesn't return anything but it has internal boolean variable set to true (yes) or false (no). DoModal call effectively "blocks" the calling thread (in your case Moving Pictures) until dialog is destroyed (user clicks yes/no or in your case you destroy it). After destruction Moving Pictures continues with checking of dialog status. Dialog IsConfirmed property returns the bool status. There is no cancelled status and it just uses what it's currently there.</p></blockquote><p></p>
[QUOTE="SilentException, post: 835681, member: 83924"] In reality it doesn't return anything but it has internal boolean variable set to true (yes) or false (no). DoModal call effectively "blocks" the calling thread (in your case Moving Pictures) until dialog is destroyed (user clicks yes/no or in your case you destroy it). After destruction Moving Pictures continues with checking of dialog status. Dialog IsConfirmed property returns the bool status. There is no cancelled status and it just uses what it's currently there. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Check for dialog window
Contact us
RSS
Top
Bottom