[Gambas-user] Workspace event question

Benoît Minisini gambas at ...1...
Tue Nov 19 22:52:07 CET 2013


Le 19/11/2013 22:14, richard terry a écrit :
> Hi List,
>
> Think I posted this a week ago but got no reply, maybe I sent it from
> the wrong address.
>
> Anway, I've got a workspace which I use to place forms each on a new tab.
>
> I wondered if there was anyway to intercept the close event of the tab,
> so that one can action something on a form before it/the tab is removed,
> or cancel the close
>
> Thanks in anticipation
>
> richard
>

Handle the Form_Close event exactly as if your form was not inside a 
Workspace, it should work.

Regards,

-- 
Benoît Minisini




More information about the User mailing list