Summary

VLF Windows Application Development

Summary

VFW052 – Build a Working List of Selected Items

  • List components have many other features than those in this exercise. Many of these will be explored in later exercises.
  • A later exercise will look at how a working list can be passed to a function and received by a function.

Important Observations

  • LANSA list component processing is very fast. Even with thousands of entries, there will only be a short delay while creating the static saved file.
  • Both static and dynamic methods work efficiently and are equally straight-forward to program.
  • You should always review the properties, events and methods which are available for a control, to understand how you can use it to meet your application requirements.

Tips & Techniques

  • If the user occasionally needs to produce the save file, the static method would probably be the most suitable.
  • If the user needs to see the total selected salary and frequently create a saved working list, the dynamic method would work well.

What You Should Know

  • How to handle list events.
  • How to update entries in a list component.
  • How to process all entries in a list component
  • How to define and use a working list.
  • How to use the TRANSFORM_LIST BIF.