[Gambas-user] Icon property
Benoit Minisini
gambas at ...1...
Tue Mar 11 16:51:47 CET 2008
On mardi 11 mars 2008, David Villalobos Cambronero wrote:
> Hi all,
> I got a problem when I want to change the Icon property of a Form at
> execution time. I use one of the icons from the Gambas Stock, for example:
> icon:/16/tools, but what can I do to change the Icon property to
> icon:/16/print at execution time?? Any ideas?
>
> Best regards.
>
> David
>
MyForm.Icon = Picture["icon:/16/print"]
To know what is done in the background, you can open the *.form file in a text
editor. Everything that is after an equal sign is valid Gambas code.
Regards,
--
Benoit Minisini
More information about the User
mailing list