Example 3 Collection to Manage Forms

Visual LANSA

Example 3: Collection to Manage Forms

This example shows a form which manages its child forms using a keyed collection:

When you click on the Create a Form B button, a new instance of Form B is created and added to the collection. You can use the other two buttons to move the forms right or left.

Define the Collection

Add Items to the Collection

Work with the Collection Items

Source Code for Collection Example 3

Ý 6.22.3 Keyed Collections