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 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.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 6.2

COLUMN

Hierarchical Listboxes (Part 2)

Working with hierarchical listboxes

Issue: 6.2 (January/February 2008)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 23,013
Starting Page Number: 32
Article Number: 6213
Resource File(s):

Download Icon 6213.zip Updated: 2008-01-15 16:54:49

Related Link(s): None

Excerpt of article text...

In my last column, I began addressing some of the challenges in working with hierarchal lists. I demonstrated the differences between non-hierarchal and hierarchal lists and showed a couple different techniques for storing hierarchal information inside a listbox class. Today we're going to continue that lesson with a more sophisticated hierarchal listbox class.

Last time I showed a simple example of embedding data inside a Listbox control. We stored the hierarchal contents inside each listbox row's Celltag property as a simple text string. For such a simple example, it worked, but such an approach is not appropriate for more complex data. It wouldn't work for more than one folder level, for instance.

My Goal

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