[Gambas-bugtracker] Bug #1638: changing application.theme did not change existing picture

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Aug 30 03:14:46 CEST 2019


http://gambaswiki.org/bugtracker/edit?object=BUG.1638&from=L21haW4-

Comment #2 by Michael ALTROGGE:

ok i try again:

in form editor: form -> buttonbox -> property picture is set to stock-16/next 
gambas setting is gambas-mono ... looks like expected

executing: buttonbox picture is set to the wm setting ...

ok to this point everything is ok ... but

in form open i have 
    Application.Theme = "Gambas-Mono"
    Stock.Refresh()

and the buttonbox picture is still shown in wm style and not like gambas-mono ... if i reload the picture with 
    ButtonBox1.Picture = Stock["16/next"]
it shows like it should

i hope this is now more understandeable ...




More information about the Bugtracker mailing list