Welcome Guest. Please Login or Register. Apr 5th, 2018, 11:23pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Re: buttons
« Reply #2 on: May 28th, 2010, 6:54pm »
That link takes me to a 'sign in page'. I don't want to sign up. In any case I suspect that the discussion would be too technical.
As a possible alternative, I see Sprites are available (page 877 of the 'guide') but there is no mention of a response to a mouse click. Is that not implemented?
That link takes me to a 'sign in page'. I don't want to sign up. In any case I suspect that the discussion would be too technical.
The link was to the BB4W discussion group. You ought to be a member, as it's the 'official' support group for BBC BASIC for Windows. It's also where any files referenced from this forum will be stored (since Conforums doesn't have an upload area), and you need to be a member to access them.
In particular, the message to which I linked itself links to this program:
which shows how to draw onto a Static Box. The code could be adapted to draw onto a button.
Quote:
As a possible alternative, I see Sprites are available (page 877 of the 'guide') but there is no mention of a response to a mouse click. Is that not implemented?
There's no provision for sprites to be used as buttons, if that's what you mean. The whole point of a sprite is that it can move 'in front of' the background, without erasing it. Buttons don't move (usually!), so a sprite has no advantage compared with a static graphics image.