What is the way to handle a close event for a Dial...
# tornadofx
n
What is the way to handle a close event for a Dialog? Tried setting
primaryStage.onCloseRequest
however the onCloseRequest event is being ignored.
a
n
Need a way to close a View that is being opened like a dialog via
openModal
function.
Doing something like this should work, however it doesn't:
modalStage?.setOnCloseRequest = { println("Closing dialog...") }