4.2 Component Types

Following are the Visual LANSA user definable components:


A form corresponds to a window of an application. See Form (PRIM_FORM)

Reusable Part   

These parts contain controls and code which can be reused in forms (or other reusable parts). As noted earlier, Reusable Parts can also be built for web applications, by specifying a Target Platform of Web Browser. A visual reusable part has an ancestor of PRIM_PNL. A non-visual reusable part has an ancestor of PRIM_OBJT. See Form (PRIM_PANL) or Form (PRIM_OBJT).

Web Page

The web page component is the start point for all browser based LANSA applications. The web page application may use the View and Dialog components described below. The Reusable Part components also supports the web platform. See Web Page (PRIM_WEB).


The View is one of a set of controls designed to work together to build a typical mobile web application. The View is used to present the application functionality. See Form (PRIM_VIEW).


The Dialog is used together with a number of special controls to build a typical mobile web application. A Dialog is used by a web page or View to provide a modal window, typically used to provide an editor or detailer. See Dialog (PRIM_DLG).

Server Module

This a server component. It provides server side processing for Visual LANSA Web applications. A server module consists of srvroutines, that usually handle database processing and Session handling, but may handle any other server side processing. See Server (PRIM_SRVM).


A Theme is a single object in which colors, fonts and borders etc for an application, are defined. Themes have Control Draw Styles that are automatically applied to controls and Custom Draw Styles, that are defined at design time or by application logic. See Themes.

Visual Style

This is a special kind of component which controls the appearance of individual fields, forms and controls or entire applications. See Visual Style (PRIM_VS).


These are images which are shared by many applications. See Create Icons.


These are images which are shared by many applications. See Form (PRIM_BMP).


These are images which are shared by many applications. See Create Cursors.


This is a Microsoft ActiveX control. See Enrolling and ActiveX-Enabled Application.

.NET Components

Third-party reusable components that have been created using the Microsoft .NET Framework. See Enrolling a .NET Framework Component in the Repository.

External Resource

These provide you with the ability to enroll all resources associated with an application in the Repository. This simplifies packaging complete applications for deployment, as well as using external resources in your applications. See External Resource Definition Tab.

Multilingual Text Variable

This is a special text variable, which defines a text string in a number of languages. Using the Multilingual Text Variable on a screen or web page or as a control's visual property, such as Caption, will display the correct language, depending on the run time language parameter. See Multilingual Text Variable Concepts.

System Variable

A System Variable defines a commonly used piece of information, that may be static or dynamic. A large number of system variables are supplied and you can define your own. See System Variable Concepts.


A Widget is used by web applications and is used to create a wrapper around 3rd party controls and features. Properties, Events and Methods can be added to describe the 3rd party script. See Widget (PRIM_WDGT).


Web Application Modules are component-based web technology used for building LANSA applications for the Internet. WAMs are superceded by LANSA's web page technology. WAMs remain fully supported. See What is a WAM?

You will see the full list of components on Visual LANSA's File > New menu.

Platform Considerations

Also See

4.1 Component Concepts

4.3 Component Definition