[Gambas-user] Default icons problem

Benoît Minisini gambas at ...1...
Wed Jul 25 20:02:15 CEST 2012


Le 25/07/2012 19:58, Maria a écrit :
> It has nothing especial, it is only a form with some buttons for test icons.
>
> The only code it has is:
>
> ===============
> Public sStr As String
>
> Public Sub Form_Open()
>
> For Each sStr In Stock.Themes
>
>    Print sStr
> Next
>
> Stock.Theme = "nuoveXT2"
>
> End
> ===============
>

You must define Stock.Theme *before* loading the form. Changing 
Stock.Theme will not modify the icons in the already created controls.

Regards,

-- 
Benoît Minisini




More information about the User mailing list