KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Assigning a list to Hierarchical List object
PRODUCT: 4D | VERSION: 6.5 | PLATFORM: Mac & Win
Published On: May 25, 2001

When you create a Hierarchical List object, you can assign a list to it manually or procedurally. To assign a pre-created list to an object, you can do it by one of the following choices:

1. Assigning the list to an object procedurally, call the command SET CHOICE LIST.

2. Assigning the list to an object manually, open the Property List for the Object and select one of the list name in the Choice List drop down box.

If the list is not pre-created and you have an array that will be converted into a list, then you need to initialize the Hierarchical List object and create a list using the elements of the array.

For example:

vHList:=New list
ARRAY TO LIST(arrayName;vHList)