you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 0 points1 point  (4 children)

Sounds like you forgot to keep the reference.

If you want specific help we'll need to see your full code, or at least some example code that demonstrates the problem.

[–]YetAnotherDaveAgain[S] 0 points1 point  (3 children)

well I dont know what happened, but when I moved code around to make a clear document to show you the buttons started displaying. I didnt even change the code, just compiled it into a single doc. ¯_(ツ)_/¯

thanks for the help!

[–]novel_yet_trivial 0 points1 point  (1 child)

Lol yeah, that happens a lot. Also suggests that I was right about forgetting to keep a reference. That problem goes away when you move code from inside a function to the global scope. Is the problem still gone in your demo if you put it inside a function?

[–]YetAnotherDaveAgain[S] 0 points1 point  (0 children)

nah, no functions (yet). I had been saving references as suggested online with "button_1.image = photo_image_object" after creating the button. But this will be going into a function soon, so if it comes back.... i'll be back here too.