Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 17 in printed book and digital formats -- plus a one-year subscription (beginning with 18.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 4.4

FEATURE

Beginner Q and A

Answers for Beginner's Questions

Issue: 4.4 (March/April 2006)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software Realbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 13,116
Starting Page Number: 24
Article Number: 4410
Related Link(s): None

Excerpt of article text...

I recently had contact with some beginners and helped them with a few tasks in REALbasic.

Do a file list

If you want to have a listbox with a folderitem associated with each row, e.g., a file list, you can do that in a bad way.

The bad way is to have a column (invisible) with the absolute paths of the files and folders. While it is quite easy to do and beginners like to do it, you will run into trouble. First, the file may move while you have the absolute path in the listbox. Second, a path may not be unique on all file systems. And third, we have a much nicer solution. The good way is to simply assign the folderitem used to create the listbox row to the celltag property like this:

dim f as folderitem

...End of Excerpt. Please purchase the magazine to read the full article.