BBC BASIC for Windows
« buttons »

Welcome Guest. Please Login or Register.
Apr 6th, 2018, 12:09am



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.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: buttons  (Read 930 times)
nitwit
Guest
xx 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?
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: buttons
« Reply #3 on: May 28th, 2010, 9:27pm »

on May 28th, 2010, 6:54pm, Guest-nitwit wrote:
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:

http://groups.yahoo.com/group/bb4w/files/Graphics/drawstaticbox.bbc

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.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls