Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / bitmaps 2 the return

Author
Message
mesaratz
17
Years of Service
User Offline
Joined: 27th May 2007
Location: UK
Posted: 27th Mar 2009 14:22
Hi all and thank for looking (again)
sorry to post again & again but last time i never added the code so i try this time

what i am trying to do is copy a bitmap from 0 to 1 when the left mouse buton is pressed and then later on beable to swap the bitmap that has been loaded into 0 back to the one i copyed in to 1 and then save the one that is swapped in to 1 .... if u get what i mean
i have added some code

sory about the way it has been programed i am not a programmeer (and you can tell)LOL

many thanks again

John
Quirkyjim
15
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 27th Mar 2009 23:57 Edited at: 28th Mar 2009 00:02
Like this?



If you click and the bitmap variable is 0, it copies bitmap 0 to bitmap 1. If bitmap is 1, it copies bitmap to to bitmap 0.

And you do know that bitmap 0 is the only one drawn?

~QJ
That's what they WANT you to think...
mesaratz
17
Years of Service
User Offline
Joined: 27th May 2007
Location: UK
Posted: 28th Mar 2009 10:44
yes i know it is the screen but i am just stuck in the old days took me hours to work out you did not need line numbers any more LOL

many thanks for the help

Login to post a reply

Server time is: 2024-09-28 04:14:25
Your offset time is: 2024-09-28 04:14:25