[Gambas-user] Can i disable the return code error message?
Bruce Steers
bsteers4 at gmail.com
Sat Jan 29 01:02:14 CET 2022
On Fri, 28 Jan 2022 at 23:24, T Lee Davidson <t.lee.davidson at gmail.com>
wrote:
> On 1/28/22 15:25, Bruce Steers wrote:
> > I have a program that if the user clicks cancel it returns error code
> 125 (operation cancelled)
> >
> > now every time i run it through the IDE it pops up a message telling me
> it returned an error code.
> >
> > Can i stop the IDE doing that if i do not wat to know?
> >
> > Thanks
> >
> > BruceS
>
> Gambas GUI applications do not automatically have any "cancel" that can be
> clicked. One would click the 'X' icon to close the
> app window. Dialogs, on the other hand, do have "Cancel" buttons. What
> exactly are you doing?
>
It's for my gambas code sorter.
It modifies/sorts a gambas source (or not)
I run it with my ExternalTools addon via a shell script
If the user clicks Cancel or closes the window (not hitting save) then the
calling script detects an error code 125 (user cancelled) and does not
continue.
If user clicks save then no error code and script carries on.
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220129/ba238f55/attachment.htm>
More information about the User
mailing list