Page 1 of 1

How do I make BGPic active?

Posted: Sun Nov 20, 2022 3:10 pm
by Bugala
I am getting this error when using DisableButtons which says: "A BGPic needs to be active while calling button functions!"

Problem is that this DisableButtons(x) happens when I click a Buttons, which means that it is practically happening during WaitEvent

How Do I make sure BGPic is active when that button is pressed, can I use some command before Disablebutton to make BGPic active?

And to further notice. I am not having Layers on.

Re: How do I make BGPic active?

Posted: Wed Nov 23, 2022 11:49 pm
by airsoftsoftwair
Don't understand this one. Have you got an MCVE?

Re: How do I make BGPic active?

Posted: Thu Nov 24, 2022 11:36 pm
by Juan Carlos
Perhaps to cover the button disable with the background picture you must use DisplayBGPicPart.

Re: How do I make BGPic active?

Posted: Tue Dec 13, 2022 11:29 am
by Bugala
It appears that by using EndDoubleBuffer() before doing disablebuttons fixes this problem.

Can you explain in more detail what is happening here @Airsoftsoftwair?