[Gambas-user] About the origin of Stock Icons

Fabien Bodard gambas.fr at gmail.com
Mon Feb 20 14:29:49 CET 2023


Le lun. 20 févr. 2023 à 11:28, Gianluigi <gradobag at gradobag.it> a écrit :

> Il 20/02/23 11:18, Gianluigi ha scritto:
> > There is something that escapes my understanding if I write:
> >
> > If Application.DarkTheme Then
> >       hImage = Stock["24" &/ sIcon].Image
> >       hImage = hImage.Invert()
> > ...
> > I get from the invert the void image error ...
> >
> > Regards
> >
> > Gianluigi
>
> Sorry I have done so many tests that now I am in confusion, why this:
>
> hImage = Stock["24" &/ sIcon].Image
>
> returns a null object?
>
> because Stock["24" &/ sIcon return a null picture ? so a null Image


> Regards
>
> Gianluigi
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>


-- 
Fabien Bodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230220/bab3b433/attachment.htm>


More information about the User mailing list