DeleteButton with DoubleBuffer gives error, bug or a feature?
Posted: Mon Feb 12, 2024 10:53 am
Code: Select all
BeginDoubleBuffer()
MakeButton(1, #SIMPLEBUTTON, 100, 100, 200, 200, {OnMouseUp=Function() EndFunction})
DeleteButton(1)Problem can be got around by turning doublebuffering off before DeleteButton and then back on after having done DeleteButton.
Is this a bug or a feature? for it seems odd that I can create and use buttons when DoubleBuffering is on, but I cant delete them until I first turn DoubleBuffering off.