REALbasic
Maybe a diary of REALbasic app development. Maybe just stuff about REALbasic. Maybe nothing :)


@ Tuesday, April 9, 2002
 

fixed the bug

I fixed the bug in Radio Poster and I've actually got the fixed version up on the server. I'm about to send an announcement to the REALbasic list.

comment ()  10:19:25 PM  #  

I am an idiot

I made the classic RB mistake of not hiding a window properly. The global glossary is a window that hides instead of closes. I correctly took care of the cmd-W case (close menu item). But I did not correctly handle clicking in the close box (or bubble, in Mac OS X :) ). And that is a bit tricky. What you want to do is call Hide in a window's cancelClose event and you also need to return True, which means to cancel the close. But if you leave it at that, then the app won't be able to close because the hiding window will always cancel the close. So you need to have a way to distinguish between closing the window and quitting the app. A quitting boolean in the app's class does the trick. You set it in the FileQuit menu handler. And in CancelClose you only return True (to cancel the close) if you are not quitting. But there was one thing that worried me about that approach. What happens when you get a close AppleEvent. Then quitting won't get set to True and the app won't quit. But that doesn't seem to be a problem for some reason. At least not on Mac OS X. I tried quitting Radio Poster from an AppleScript and it worked fine. But I'm going to have to test it on OS 9 just to be sure it works ok there. Either way, I'm going to have to release a new version tomorrow.

comment ()  8:46:03 PM  #  

Radio Poster bug

Now that I've got this weblog linked to the Radio Poster website, perhaps people will check it out. So I can use it to say I'm chasing an RP bug. Sorry about that. It seems that, under certain conditions, the global glossary gets wiped out. I can't quite pin it down yet, but I have some theories. I'll keep you posted (that's a pun, by the way).

comment ()  7:04:42 PM  #  

Radio Poster is on MacinTouch

This is my first mention on MacinTouch. I've read the site for about four years now, and though I've released a few apps in my time this is the first time to be mentioned on that site.

comment ()  9:42:51 AM  #  

contracting

A friend of mine and I have decided to hire ourselves out for REALbasic programming. We have good skills and we've been programming Macs for years. We've even got the beginnings of a web site: The La Jolla Underground.

comment ()  9:39:19 AM  #  


Click here to visit the Radio UserLand website. © Copyright 2002 Will Leshner.
Last update: 4/13/02; 12:03:24 PM.
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~