|
|
@
|
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.
10:05:43 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.
4:59:33 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.
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.
1:22:16 PM #
|
|
|
|
© Copyright
2002
Will Leshner.
Last update:
4/13/02; 12:03:23 PM.
|
|


|