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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to