[Gambas-user] How to use MessageView when closing a form?
adamnt42 at gmail.com
Thu Aug 26 19:08:42 CEST 2021
We are trying to show a MessageView when the user clicks on a button
that closes the form or presses ESC. So in btnCancel_Click() we have
Public Sub btnCancel_Click()
Action["Exit"].Enabled = False
mvwOutput.Open("Search abandoned", Picture["icon:/32/emote-sad"])
which works, but seems a terrible waste of electrons (top shows it
using 7% CPU).
Anyone got a better idea?
bruce (&Caarol, Joe and Fels)
More information about the User