kasrasadeghi
05/31/2017, 1:49 AMkasrasadeghi
05/31/2017, 1:49 AMRuckus
05/31/2017, 1:50 AMPlatform.exit()
kasrasadeghi
05/31/2017, 1:51 AMRuckus
05/31/2017, 1:54 AMPlatform.exit()
triggers this and will close all open stages.kasrasadeghi
05/31/2017, 1:55 AMnimakro
05/31/2017, 6:37 AMnimakro
05/31/2017, 6:37 AMnimakro
05/31/2017, 6:39 AMgetProperty
only creates ObjectProperties
right?edvin
05/31/2017, 7:13 AMrunAsyncWithProgress
function so that it will automatically swap out the graphic
property of any Labeled
while the task is running. You can now simplify the code as follows, but you might need to add some styling to the button to size the progress indicator and/or button as you want.edvin
05/31/2017, 7:15 AMPlatform.setImplicitExit(false)
. This will keep your app running, which could be useful for example if you have a tray icon.nimakro
05/31/2017, 7:17 AMbutton("Run-Task").action { /* ...*/ }
nimakro
05/31/2017, 7:18 AMedvin
05/31/2017, 7:18 AMrunAsyncWithProgress
to run "on" the button. If you do button("").action { runAsyncWithProgress
it will actually run on the vbox, so it wouldn't yield the desired result. Important, and even a bit weird distinction there 🙂edvin
05/31/2017, 7:19 AMnimakro
05/31/2017, 7:19 AMedvin
05/31/2017, 7:20 AMaction
would have to run in the scope of it's parent.edvin
05/31/2017, 7:21 AMnimakro
05/31/2017, 7:26 AMtornadoFx-guide
, is the getProperty
delegate still a valid option in some us cases, since it will always return ObjectProperty<T>
?edvin
05/31/2017, 7:37 AMedvin
05/31/2017, 7:38 AMedvin
05/31/2017, 7:53 AMedvin
05/31/2017, 7:53 AMedvin
05/31/2017, 7:54 AMalexp11223
05/31/2017, 10:10 AM-rtfx-background-color
nimakro
05/31/2017, 10:28 AMview
?