Replies: 2 comments 1 reply
-
The code I have used is and in slint! This works but is it the right way? |
Beta Was this translation helpful? Give feedback.
-
For the OK button, I added two functions, the last of which hides the dialog which works. But if the dialog is reopened then any text entered in the line edit field is still there. So hide is hide, not close. I added an extra line before the hide to clear the text after processing. Would a close function be useful on the dialog window? |
Beta Was this translation helpful? Give feedback.
-
In the example of a dialog box, "no" or "cancel" has no callback associated with it. I would expect "cancel" to close the dialog.
I saw discussion #3562 and that suggetsed using hide but is that going to end that function or will the dialog still be around but just not visible?
Is there a close function?
Beta Was this translation helpful? Give feedback.
All reactions