Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 16 Oct 2007 02:23:24 +0100
Hi!
Tried to use MakeButton() on a double buffered screen and got the following error:
"A BGPic needs to be active while calling button functions!"
What does it mean? No way to using buttons with double buffer?
[16 Oct 2007] Makebutton and DoubleBuffer
- airsoftsoftwair
- Posts: 5833
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[16 Oct 2007] Re: Makebutton and DoubleBuffer
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 16 Oct 2007 22:31:55 +0200
Currently not. Double buffer mode is not designed to handle buttons at the moment. You should implement them on your own using IsLeftMouse() and MouseX() and MouseY(). This should be no problem because double buffered scripts usually run at a fixed interval of some 25-50fps which is enough to see if the user clicked somewhere on the display.Hi!
Tried to use MakeButton() on a double buffered screen and got the following error:
"A BGPic needs to be active while calling button functions!"
What does it mean? No way to using buttons with double buffer?