Case 3 Use Components as Business Objects

Visual LANSA

Case 3 - Use Components as Business Objects

In this example you create and use two non-visual LANSA ActiveX components (business objects) which provide functionality to manage employee and skills information in the LANSA Personnel System demonstration files:

This example shows you how to:

  • Dynamically build and manage objects using collections
  • Invoke business rules from the LANSA repository
  • Handle messages issued from LANSA

Source that makes up this example:

Name

Type

Description

AXOBJECTA

Visual LANSA Component

Reusable Part AXOBJECTA

AXOBJECTB

Visual LANSA Component

Reusable Part AXOBJECTB

Project1

Visual Basic Project

Project Definition

Form1

Visual Basic Form

Visual Basic - Code

Session.cfg

Configuration file

Session Configuration (Session.cfg)

 

 

Add the Visual LANSA Components

Add the Visual Basic Form 

Ý 7.3.3 Examples