transcendental petroglyphs
will leshner's cave wall scratchings


@ Wednesday, April 10, 2002
 

InsertFolder in REALbasic

I don't know how to tell REAL Software, but their new InsertFolder method for ListBoxes isn't really that useful. It's useful if you've got a 1-deep list of folders. But if you are trying to make an outline, with arbitrary nesting, then it still doesn't let you put a folder anywhere in the tree. The problem is that InsertFolder takes a row and some text and it inserts a folder in the table at that row with the text as the contents of the first cell. But the newly inserted folder has no parent. It is at the top level, so to speak. But what I want is to be able to control which row is the new folder's parent. I want to put it into a folder, in other words. I still can't do that.

comment ()  10:05:43 PM  #  

Baba

We, of course, always think about Baba.

comment ()  5:18:50 PM  #  

REALbasic 4.5

RB 4.5, which is in alpha right now, is looking pretty good. RS just released a7, and it has three really cool new things. One is sheets. You can do a ShowModalWithin, which acts just like ShowModal, but as a sheet within a parent. On Windows and OS 9 ShowModalWithin works just like ShowModal. There's also ShowWithin, which shows a sheet within another window (but not modally) and there is a new window document type for sheets. That's pretty cool, but the other two features are even cooler.

One is a new ListBox method: InsertFolder. I've wanted that for a long time. Without that there really isn't any way to create a folder in a hierarchical listbox that's the child of another folder. You can create folders and rows when a folder is expanded. But after that there really isn't any way to do it without just collapsing and expanding a row.

The other cool new feature isn't so cool yet, but it will be. It's an extension to RBScript. Methods can have arguments with default values. That means you specify the value the argument is supposed to have if it isn't provided by the caller. What's cool about that is that RBScript will eventually be RB. So this is a feature RB itself will have someday.

comment ()  4:59:33 PM  #  


rss.xml file is busy

I just got a weird error back when I tried to post that last message. "The rss.xml file is busy". I never seen that one before. I wonder if it has anything to do with the recent change to stop using directory.opml. Probably not.

comment ()  1:23:43 PM  #  

For my next trick...

I thinking of rereleasing StockittoMe as a La Jolla Underground app. It needs to be updated anyway. Back when I released it I believe there wasn't even a RegEx in REALbasic. Now there is.

comment ()  1:22:29 PM  #  

For my next trick...

I thinking of rereleasing StockittoMe as a La Jolla Underground app. It needs to be updated anyway. Back when I released it I believe there wasn't even a RegEx in REALbasic. Now there is.

comment ()  1:22:16 PM  #  

my wife called

My wife called and asked how our sick daughter is doing. "How did you know she was sick," I asked. It's not easy to call her because of the time difference and such. She said it was a mother's instinct. "Really," I asked. "No, I read your weblog," she replied. So a weblog really can be used as a tool for communication. It was better than email!

comment ()  10:25:42 AM  #  


Click here to visit the Radio UserLand website. © Copyright 2002 Will Leshner.
Last update: 4/13/02; 12:03:23 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.

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