I cannot change the background image of my GUI.
Help says:
BackgroundGraphic property
(Formerly known as SetGUIBackgroundPic, which is now obsolete)
int GUI.BackgroundGraphic
Gets/sets the background image of the GUI.
You can set this to 0 to remove the background image from the GUI.
But neither the obsolete or the actual command succeed...
Any suggestions?
Could you provide the line of code you used to change the GUI's background?
SetBackgroundFrame(2);
GUI.BackgroundGraphic = 108;
regards,
Martijn
Gui names should start with a little 'g', what is your GUI called? Code should be more like
gMyGuiName.BackgroundGraphic=108;
thanks for helping. The solution works great. Off course, how would the program know what Gui to adjust...
I got confused by the example in the help, stopped thinking and lack exprience in OO programming ;-(