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.
How do I make BGPic active?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: How do I make BGPic active?
Don't understand this one. Have you got an MCVE?
- Juan Carlos
- Posts: 889
- Joined: Mon Sep 06, 2010 1:02 pm
Re: How do I make BGPic active?
Perhaps to cover the button disable with the background picture you must use DisplayBGPicPart.
Re: How do I make BGPic active?
It appears that by using EndDoubleBuffer() before doing disablebuttons fixes this problem.
Can you explain in more detail what is happening here @Airsoftsoftwair?
Can you explain in more detail what is happening here @Airsoftsoftwair?