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 / Buttons not responding

Author
Message
Computer Nerd
20
Years of Service
User Offline
Joined: 25th Jan 2005
Location: What do you care?
Posted: 14th Feb 2006 22:41
I got the first toolbar buttons to work but after that when I click on the save and save as button,etc. nothing works. And I can't get the filmenu variable to go away help!



Need Tutorials? New to DarkBASIC? - http://jonsdbpage.tripod.com
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 14th Feb 2006 23:25
Apart from line 9, there's no mention of tbid - so that's going to be a zero. can't have an image zero, so that crashes there...

Line 76 - ...then save_as = 1 nowhere in your snippet is it told what to do when save_as is 1. all it does is (I assume, close the file menu)...

and Line 101 - if save_new = 1...
This is outside the loop, and not following a label, so the compiler cannot actually get to this code - try moving the "loop" to after this IF statement...

Login to post a reply

Server time is: 2025-05-23 15:23:08
Your offset time is: 2025-05-23 15:23:08