Both methods should work fine, but the best way would be to set the ModalResult property of buttons on the form at design-time, that way you don't need to write any event handlers and the form automatically closes when a button is pressed.
Also with MOdalResult you can use the return value of...
I've just installed bcb5. It works fine, but it takes a VERY long time to start each time. I've used the -ns and -np switches to try to help speeding it up to no avail. It also takes a while to close BCB (the icon remains in the taskbar for a few seconds).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.