[Gambas-user] Stock icons
Robert Rowe
robert.c.rowe at ...626...
Thu Apr 3 03:03:20 CEST 2008
It was my code. I was using exist to make certain that the file existed
before I used it. Since the stock icons aren't files in the data
directory it was returning false. I changed it to check for NULL after I
load the icon into the variable. It now works with stock icons or files. :)
Thanks for the help.
Robert Rowe
Benoit Minisini wrote:
> On jeudi 3 avril 2008, Robert Rowe wrote:
>
>> Is it possible to access the stock icons via code?
>>
>> dim btnTest as ToolButton
>> btnTest.Picture = Picture[icon:/16/new]
>>
>>
>
> You forgot the quotes: Picture["icon:/16/new"]
>
>
More information about the User
mailing list