Skip to content

ShowModal #53

Answered by lmbelo
Roboteco asked this question in Q&A
Discussion options

You must be logged in to vote

The ShowModal method has a return value, it is the same as the ModalResult property:

modal_result = MyForm.ShowModal()   
if modal_result == mrOk:
    ...

https://embarcadero.github.io/DelphiVCL4Python/reference/delphivcl.CustomForm.html#delphivcl.CustomForm.ShowModal

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by checkdigits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants