[Gambas-user] A new property of WorkSpace
Jorge Carrión
shordi at gmail.com
Mon Mar 11 19:55:19 CET 2019
Done... I think. I'm not very skilled on git neither gitlab, but I think
I've done.
I did it once and then clicked on "Close Merge Request".. don't ask me why.
So I did another merge request. Hope all its OK now.
Best Regards
El lun., 11 mar. 2019 a las 14:01, Fabien Bodard (<gambas.fr at gmail.com>)
escribió:
> Maybe a new event _BeforeClose could be a good idea too.
>
> Le lun. 11 mars 2019 à 13:50, Benoît Minisini <g4mba5 at gmail.com> a écrit :
> >
> > Le 11/03/2019 à 13:07, Jorge Carrión a écrit :
> > > Lately I have developed a project that handles a series of long and
> > > tedious texts to complete. To edit them I use some forms within a
> > > workspace control. However I haven't found a way to prevent that if you
> > > press the button to close all the tabs all the work is lost (CloseAll
> > > Event is raised after all windows is closed).
> > > So I modified the source code of the control by adding the Boolean
> > > property CloseButton (the same one that has the tabstrip control). It
> > > works very well, just put it to False and the close all windows button
> > > does not appear.
> > > The modification is very small but it saves many troubles.
> > > I do not know if it's interesting for someone else, but here's the
> > > source code of the modified WorksPace.
> > >
> > >
> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
> ]----
> > >
> >
> > If you can use git and make a merge request to GitLab, it would be cool.
> >
> > --
> > Benoît Minisini
> >
> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
>
>
> --
> Fabien Bodard
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190311/2773357c/attachment.html>
More information about the User
mailing list