[Scilab-users] How to close/kill "messagebox"

Clément David Clement.David at esi-group.com
Tue May 15 17:36:38 CEST 2018


Hello,

Exactly messagebox() use a semi-hardcoded Java-based GUI that totally differs from the uicontrol
code. If you want to mix messagebox() and regular figure(), you should (as Antoine suggested)
implement a popup-like by yourself (should be ~20 lines of code).

Thanks,

--
Clément

Le vendredi 11 mai 2018 à 10:26 +0200, amonmayr at laas.fr a écrit :
> Hello,
> 
> 
> Indeed, messagebox() seems to live outside the realm of figures and 
> other graphic entities.
> It's a bit weird in my opinion.
> Maybe a workaround for you would be to emulate what messagebox() is 
> doing by using a figure and a bunch of uicontrols and callbacks.
> That way you'll be able to treat this emulated version like any othe 
> figure and close it using delete(winsid_of_said_figure).
> 
> Hope it helps,
> 
> Antoine
> 
> 
> 
> Le 11/05/2018 à 09:42, Emmanuel Delaleau a écrit :
> 
> 
> 
> > Hi,
> > 
> > 
> > Does it exists a way to close/kill windows created by "messagebox".
> > 
> > "close" or "delete" do not work as messageboxes do not have a handle.
> > 
> > Thanks
> > 
> > Emmanuel
> > 
> > _______________________________________________
> > users mailing list
> > users at lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users
> > 
> 
> 


More information about the users mailing list