[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #3185: unable to close windows
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #3185: unable to close windows
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Fri, 12 Jun 2026 12:31:02 GMT
- To: bsteers@xxxxxxxxx,gbWilly@xxxxxxxxxxxxxx,simonlebon54@xxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.3185&from=L21haW4- Comment #5 by Bruce STEERS: Aah, I think the problem is you are opening and then trying to close the window from a modal window. If you use Frm1.Show and not ShowModal then the window closes as expected. (A Message() box is a modal window, while open the program is locked) When a modal window opens it disables many event related things and sets Application.Busy I do not think it's a good idea to try to control anything outside of itself from a modal window. Benoit will know for certain if it's a bug or by design that you cannot (or should not) open and close another window from a modal window. Respects ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
| [Gambas-bugtracker] Bug #3185: unable to close windows | <bugtracker@xxxxxxxxxxxxxx> |