i’m migrating from VWG to Wisej and now I’m facing problem with AcceptButton. When I set AcceptButton to a window and do not set click event for that button. The window does not close when I press Enter. In VWG it works. Is it a bug or not? Any work around for it?
Thanks you for your help,
AcceptButton causes the buttons to be clicked when pressing Enter. CancelButton causes the button to be clicked when pressing Esc.
In WinForms they also automatically close a form only when created using ShowDialog() while they do not close a form when created using Show(). We decided early on not to duplicate many little inconsistencies like this one. The action to take when the AcceptButton (or CancelButton) are clicked with Wisej depends on the app. All you need to do is add a Click event and call Close() if that is the behavior you need in the app.
Please login first to submit.