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.

DarkBASIC Discussion / Moving issues

Author
Message
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 25th Mar 2009 03:15
Ok i know i'm jumping around projects but i'm still doing the window functions well redoing them. it's going ok. i have it set up so later it's going to work like MS Windows api commands where you can specify a type (button,menu,window) and i was working on moving windows but it's not moving any ideas? heres the code.



New Site! Check it out \/
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 25th Mar 2009 21:56
Just a note: don't use OBSCENELY large arrays with empty space: they take up OBSCENE amounts of memory. I saw somewhere - I'll find you a link - that you can have the same effect of a REDIM command by doing something like this:

DIM array(3)
array(2) = 5
DIM array(5)
array(5) = 7


I can tell you that this has saved ME!

~QJ
That's what they WANT you to think...
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 26th Mar 2009 04:26 Edited at: 26th Mar 2009 04:29
hahaha yes i did this for later i didn't mean to put 1000 but i just havn't changed it. well i ment to put 1000 but i don't think i need that many lol so i was going to change it but forgot

New Site! Check it out \/
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 27th Mar 2009 02:33
got it to work nevermind.

i had the difference calculations wrong :/ i know how resizing done and almost have buttons working.

New Site! Check it out \/

Login to post a reply

Server time is: 2025-05-16 08:47:26
Your offset time is: 2025-05-16 08:47:26