7 3 3 Examples

Visual LANSA

7.3.3 Examples

Following are some examples to show how to wrap LANSA components as ActiveX components. Before you can start using these examples, first complete the General Setup Tasks.

The examples provided are:

Case 1 - Show a Form 
This example shows you the essentials of exposing properties, events and methods.

Case 2 - Embed a Reusable Part 
This example shows you how to embed a Visual LANSA Re-usable part inside a Visual Basic form.

Case 3 - Use Components as Business Objects 
This example shows you how to:

  • Use non-visual re-usable parts
  • Dynamically build and manage objects using collections
  • Invoke business rules from the LANSA repository
  • Handle messages issued from LANSA

Ý 7.3 ActiveX Wrapping