[Gambas-user] These new-fangled optional messages...

Gianluigi bagonergi at gmail.com
Fri Nov 2 13:24:51 CET 2018


Il giorno ven 2 nov 2018 alle ore 12:45 Benoît Minisini <g4mba5 at gmail.com>
ha scritto:

> Le 02/11/2018 à 08:34, Me a écrit :
> > I've got most of it worked out but what do I specify for the icon
> parameter?
> > The function prototype says it's a string but what string?
> >
> > e.g.
> > Message.Optional("The horse's **Last Race** date is incorrect.\nForm
> history may be incomplete!", "OK", "optedout", "???WTF???", True)
> >
> > tia
> > bruce
> >
>
> It's the name of the icon, without the "icon://<size>" part. For
> example: "warning", "error", "gambas"...
>
> --
> Benoît Minisini
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>

Here it also works with "icon: ...", see attached.

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181102/b6f61c82/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OptionalMessage-0.0.2.tar.gz
Type: application/gzip
Size: 11721 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181102/b6f61c82/attachment.gz>


More information about the User mailing list