documentation.HELP! Visual LANSA Documentation

5 3 Sample RDML Programs

Visual LANSA

previous page next page

5.3 Sample RDML Programs

The following RDML function samples are provided:

5.3.1 Adding Records to a File (One at a Time)

5.3.2 A Simple Inquiry

5.3.3 Modifying the Simple Inquiry to Do Maintenance

5.3.4 Modifying the Simple Inquiry to Do It All

5.3.5 Browsing and Selecting

5.3.6 A Multiple File Inquiry

5.3.7 Adding Records to a File (Many At a Time)

5.3.8 Minimizing Database I/Os

5.3.9 Using the KEEP_LAST Parameter

5.3.11 Page At a Time Scrolling (Forward Only)

5.3.12 Page at a Time Scrolling (Backwards & Forwards)

previous page start next page

Menu

  • Homepage

Table of contents

  • Visual LANSA Developer Guide
    • 1. Getting Started with LANSA Development
      • 1.1 Developer Roadmap
        • 1.1.1 IBM i Development
        • 1.1.2 Windows/Linux Development
        • 1.1.3 Web Development
        • 1.1.4 LANSA Integrator Development
        • 1.1.5 LANSA Open Development
        • 1.1.6 LANSA Client Development
      • 1.2 LANSA Architecture
        • 1.2.1 LANSA Product Architecture
        • 1.2.2 Centralizing Information in A Repository
        • 1.2.3 Repository and RDML
        • 1.2.4 Traditional Application Architecture
        • 1.2.5 Tiered Application Architecture
        • 1.2.6 LANSA Application Architecture
        • 1.2.7 LANSA is an Architecture
      • 1.3 LANSA Repository
        • 1.3.1 What is a Repository?
        • 1.3.2 What is An Active Repository?
        • 1.3.3 What Goes in LANSA Repository?
        • 1.3.4 Repository Benefits
      • 1.4 LANSA RDML
        • 1.4.1 Why a 4GL / RDML?
        • 1.4.2 RDML Structures
        • 1.4.3 Programming Productivity
        • 1.4.4 Where is RDML Used?
        • 1.4.5 LANSA Application Templates
        • 1.4.6 LANSA Built-In Functions (BIF)
        • 1.4.7 "Compiling" RDML
        • 1.4.8 RDML Benefits
        • 1.4.9 RDMLX Benefits
      • 1.5 Developer Resources
        • 1.5.1 SET (Samples Examples Templates)
        • 1.5.2 Online Tutorials
        • 1.5.3 Personnel Demonstration Application
        • 1.5.4 Training and Consulting Services
        • 1.5.5 LANSA Web Site and Support
    • 2. Creating LANSA Applications
      • 2.1 Types of LANSA Applications
        • 2.1.1 LANSA Application Characteristics
        • 2.1.2 LANSA Application Models
        • 2.1.3 Universal Model
        • 2.1.4 Windows Optimized Model
        • 2.1.5 Web Optimized Model
        • 2.1.6 Open Model
        • 2.1.7 Types of Business Applications
        • 2.1.8 Mixing Models
        • 2.1.9 Query & Reporting with LANSA
      • 2.2 Application Design
        • 2.2.1 Structured Methodologies
        • 2.2.2 Using a Modeling Tool
        • 2.2.3 Importance of Design Phase
      • 2.3 Application Development
        • 2.3.1 Types of Development
        • 2.3.2 Start with Standards
        • 2.3.3 Using Existing Applications
        • 2.3.4 Building LANSA Applications
        • 2.3.5 Step 1. Building the Repository
          • Controlling Repository Maintenance
          • Steps for Developing with a Repository
        • 2.3.6 Step 2. Building the RDML
          • RDML & Application Types
      • 2.4 Multilingual Applications
        • 2.4.1 Multilingual Support
        • 2.4.2 Multilingual Partitions
        • 2.4.3 What can be Multilingual?
        • 2.4.4 Multilingual Objects Descriptions
        • 2.4.5 Multilingual Considerations
    • 3. Creating Fields
      • 3.1 Getting Started with Repository Fields
        • 3.1.1 Modeling Fields and Files
        • 3.1.2 Field Naming Standards
        • 3.1.3 Corporate Data Dictionary Concept
        • 3.1.4 Before You Begin Checklist
      • 3.2 Developing with Fields
        • 3.2.1 How are Repository Fields Used?
        • 3.2.2 How to Create New Fields
        • 3.2.3 Steps for Completing Fields in Repository
        • 3.2.4 Copying Versus Reference Fields
        • 3.2.5 Reference Fields
        • 3.2.6 System Fields
        • 3.2.7 Field Considerations
      • 3.3 Field Rules and Triggers Development
        • 3.3.1 Types of Field Validation Rules
        • 3.3.2 Validation Rule Levels
        • 3.3.3 Field Rules/Triggers and the Object Access Module
        • 3.3.4 Field versus File Level Rules
      • 3.4 Repository Help Text Development
        • 3.4.1 Types of Help Text
        • 3.4.2 How Help Text Can Be Used
        • 3.4.3 How to Create Field Help Text
        • 3.4.4 How to Create Process/Function/Form Help Text
        • 3.4.5 Repository Help Editor
        • 3.4.6 How to Use Special Characters
        • 3.4.7 How to Use Special Values
      • 3.5 System & Multilingual Variables Development
        • 3.5.1 System Variable Concepts
        • 3.5.2 Multilingual Text Variable Concepts
      • 3.6 Field Visualization Development
        • 3.6.1 Visualization Types
        • 3.6.2 Defining Field Visualizations
        • 3.6.3 Adding a Visualization
        • 3.6.4 Field with Several Visualizations
        • 3.6.5 Using a Field with Visualization
        • 3.6.6 Using Field Visualization in a List
        • 3.6.7 Differences between Field Visualization on a Form and in a List component
        • 3.6.8 Returning the Value from a Field Visualization
        • 3.6.9 Form Samples
          • Edit Box
          • Edit Box with Prompter
          • Spin Edit
          • TrackBar
          • ProgressBar
          • ComboBox
          • CheckBox
          • Image
          • ImageAndText
          • ListBox
          • ButtonSet
          • Reusable Part
          • DateTime Picker
          • Calendar
        • 3.6.10 List Samples
          • Edit Box
          • Edit Box with Prompter
          • Spin Edit
          • ComboBox
          • CheckBox
          • Image
          • ImageAndText
          • Reusable Part
        • 3.6.11 Miscellaneous
          • UsePicklist
          • NoMatchAction
        • 3.6.12 Field Visualization in Depth
          • Fields as Components
          • Field Class list
          • Field variable values vs. Field Visualization appearance
          • Field variable default value vs. Field Visualization Picklist default item
          • Field Visualization Q & A
        • 3.6.13 Dynamic Visualizations
          • Visual Hosts and Dynamic Picklists
          • Interfaces and monitors
          • Prim_LM - Monitor
          • Prim_DC.iMonitorSubject
          • Prim_DC.iDynamicPicklist
          • Prim_DC.iContextualSubject
          • Examples of using Visualization Interfaces and Monitors
            • Example 1 - Simple Hosted Part
            • Example 2 - Simple Dynamic Picklist
            • Example 3 – Linking Multiple Visualizations
    • 4. Creating Application Databases
      • 4.1 Getting Started with Database
        • 4.1.1 Modeling Databases
        • 4.1.2 File Standards and Guidelines
        • 4.1.3 Before You Begin Checklist
      • 4.2 Developing Databases
        • 4.2.1 LANSA File Concepts
        • 4.2.2 Types of Fields in a File Definition
        • 4.2.3 How to Create Files in LANSA
        • 4.2.4 Adding Real Fields to a File
        • 4.2.5 Steps for Completing a Database in LANSA
        • 4.2.6 File Definition Attributes
      • 4.3 Logical View Development
        • 4.3.1 Logical View Concepts
        • 4.3.2 How to Create Logical Files
        • 4.3.3 Logical File Considerations
        • 4.3.4 Examples of Logical Files
        • 4.3.5 Select/Omit Concepts
      • 4.4 Virtual Field Development
        • 4.4.1 Virtual Field Concepts
        • 4.4.2 Distinction between real and virtual fields
        • 4.4.3 Types of Virtual Fields
        • 4.4.4 Examples of Virtual Field Applications
        • 4.4.5 Input or Output Virtual Fields
        • 4.4.6 Steps to Create Virtual Fields
        • 4.4.7 Virtual Field Considerations
      • 4.5 File Rules & Triggers Development
        • 4.5.1 Rule Concepts
        • 4.5.2 Rule Types
        • 4.5.3 Rule Hierarchy
        • 4.5.4 Understanding Rule Sequence
        • 4.5.5 What is Database Referential Integrity?
          • Referential Integrity Example
        • 4.5.6 Trigger Concepts
        • 4.5.7 Trigger Points - When
        • 4.5.8 Trigger Conditions - If
        • 4.5.9 Trigger Functions
        • 4.5.10 Trigger Design Considerations
        • 4.5.11 LANSA Database Triggers
          • Database Trigger Architecture
          • Enable Database Triggers for a file
          • What happens when a Database Trigger is executed?
          • What is the database trigger environment user exit program?
          • What are the limitations with LANSA DB Triggers?
          • Other observations regarding LANSA Database Triggers
      • 4.6 Access Route Development
        • 4.6.1 Access Route Concepts
        • 4.6.2 Access Route Examples
        • 4.6.3 Access Routes in Personnel System Example
        • 4.6.4 Access Route Considerations
      • 4.7 Predetermined Join Field Development
        • 4.7.1 Predetermined Join Field Concepts
        • 4.7.2 PJF Examples
        • 4.7.3 PJF Example using Personnel System
        • 4.7.4 Steps to Create a PJF
        • 4.7.5 Access Routes and PJFs
        • 4.7.6 PJF Considerations
      • 4.8 Batch Control Development
        • 4.8.1 Batch Control Concepts
        • 4.8.2 Batch Control Examples
        • 4.8.3 Steps for Defining Batch Control
        • 4.8.4 Batch Control Considerations
      • 4.9 Compiling Files
        • 4.9.1 Making a File Operational
        • 4.9.2 What about Data?
        • 4.9.3 What to Recompile
        • 4.9.4 When To Recompile
      • 4.10 Load Other File
        • 4.10.1 Other File Concepts
          • Identity columns
          • Handling of Timestamp or DateTime columns
          • How BLOB and CLOB columns are handled by RDMLX Other Files
          • No additional LOB columns
        • 4.10.2 PC Other Files
          • RDML PC Other File
            • Handling of NULLs
            • Handling of columns longer than 256 bytes
            • Handling of large numeric columns
          • RDMLX PC Other File
            • Additional LOB columns
          • Create RRNO Column
          • LANSA Files loaded as PC Other Files
          • Using SuperServer with PC Other Files
          • Using DEFINE_DB_SERVER to modify connection details
          • Database-specific Notes
            • Microsoft SQL Server
            • SQL Server Express Limitations
            • Microsoft Access
            • Oracle
        • 4.10.3 IBM i RDMLX Other Files
        • 4.10.4 Setting Other File Load Options
      • 4.11 LANSA Internal Tables
    • 5. Creating Applications Using Functions
      • 5.1 Getting Started with Function Development
        • 5.1.1 Setting Standards & Practices
        • 5.1.2 Process & Function Naming
        • 5.1.3 RDML Practices
        • 5.1.4 Process & Function Guidelines
        • 5.1.5 Before You Begin Checklist
      • 5.2 Developing with Processes and Functions
        • 5.2.1 What is a Process?
        • 5.2.2 Process Style
        • 5.2.3 What is a Function?
        • 5.2.4 How to Create Processes
        • 5.2.5 How to Create Functions
        • 5.2.6 Steps for Building Function Applications
        • 5.2.7 Attached Processes/Functions Concepts
        • 5.2.8 Function Control Table Concepts
        • 5.2.9 Special Entries Concepts
        • 5.2.10 Process Parameter Concepts
        • 5.2.11 Action Bar Concepts
      • 5.3 Sample RDML Programs
        • 5.3.1 Adding Records to a File (One at a Time)
        • 5.3.2 A Simple Inquiry
        • 5.3.3 Modifying the Simple Inquiry to Do Maintenance
        • 5.3.4 Modifying the Simple Inquiry to Do It All
          • Function ADD - To Add New Records to CUSMST
        • 5.3.5 Browsing and Selecting
        • 5.3.6 A Multiple File Inquiry
        • 5.3.7 Adding Records to a File (Many At a Time)
        • 5.3.8 Minimizing Database I/Os
          • Initial Example
          • First Improved Example
          • Second Improved Example
        • 5.3.9 Using the KEEP_LAST Parameter
        • 5.3.10 Generalized Subroutine
        • 5.3.11 Page At a Time Scrolling (Forward Only)
          • Initial Example
          • More Efficient Example
        • 5.3.12 Page at a Time Scrolling (Backwards & Forwards)
      • 5.4 Producing Reports Using LANSA
        • 5.4.1 Using the DEF_LINE Command
        • 5.4.2 Using the DEF_HEAD Command
        • 5.4.3 Numbering Report Pages
        • 5.4.4 Using the DEF_FOOT Command
        • 5.4.5 Using a Leading DEF_BREAK Command
        • 5.4.6 Using a Trailing DEF_BREAK Command
        • 5.4.7 Printing on Multiple Lines
        • 5.4.8 Submitting Reports to Batch
        • 5.4.9 Reporting Q & A
    • 6. Creating Applications Using Components
      • 6.1 You Work in a Graphical Editor
      • 6.2 You Create Powerful Graphical Interfaces
      • 6.3 You Use a Repository-Based Graphical Designer
      • 6.4 The Component Model
      • 6.5 RDMLX Is Extended RDML
      • 6.6 Move Existing Applications to Visual LANSA
      • 6.7 A Few Things You Need to Know
      • 6.8 Component Basics
        • 6.8.1 Designing Visual LANSA Interfaces
        • 6.8.2 Components
        • 6.8.3 Properties
        • 6.8.4 Events
        • 6.8.5 Methods
        • 6.8.6 Inheritance
        • 6.8.7 Components and Instances
      • 6.9 Event-Driven Programs
        • 6.9.1 Dynamic and Flexible Programs
        • 6.9.2 What Is Different Between Event-Driven and Procedural Programs?
          • The Code Is Always Associated With a Component
          • Modes Are Not Needed because Actions Are Performed Directly
          • The Code for a Mode Often Becomes an Event Routine
          • Sequence of Actions Is Free
          • You Create the Interface Graphically
        • 6.9.3 How Is the Code Different in a Function and a Form?
          • Code Comparison
        • 6.9.4 A LANSA &
        • 6.9.5 RDML and RDMLX Programs
          • RDML Commands that cannot be used in Visual LANSA
      • 6.10 Work with Components
        • 6.10.1 Add and Move Components
        • 6.10.2 Accomplish Common Tasks Using Pop-up Menus
        • 6.10.3 Copy a Component
        • 6.10.4 Modify Default Component Behavior
      • 6.11 Create an Application
        • 6.11.1 Step 1. Create the Form
        • 6.11.2 Step 2. Create the Interface
        • 6.11.3 Step 3. Write the Code
        • 6.11.4 Step 4. Compile and run the Program
        • 6.11.5 Create Applications Using a Wizard
        • 6.11.6 Create Applications Using Templates
      • 6.12 Enrolling Bitmaps and Icons
        • 6.12.1 Enrolling an Image
      • 6.13 Forms
        • 6.13.1 Title Bar Buttons and FrameStyle
        • 6.13.2 Minimizing, Maximizing and Restoring the Form
        • 6.13.3 Form&
        • 6.13.4 Icon
        • 6.13.5 Layout Manager
        • 6.13.6 Showing and Closing the Form
        • 6.13.7 Modal Forms
          • Sample Modal Form
        • 6.13.8 Asking User to Confirm the Closing of a Form
      • 6.14 Controls
        • 6.14.1 Check Box
        • 6.14.2 Group Box
        • 6.14.3 Label
        • 6.14.4 Panel
        • 6.14.5 Push-Button
        • 6.14.6 Radio Button
        • 6.14.7 Static
        • 6.14.8 Status Bar
        • 6.14.9 Tab Folder and Tab Sheets
        • 6.14.10 Timer
        • 6.14.11 Toolbar Button
        • 6.14.12 Picture and Sound Controls
      • 6.15 Lists, Tree Views, Grids and Graphs
        • 6.15.1 Combo Box
        • 6.15.2 Grid
        • 6.15.3 List Box
        • 6.15.4 Tree View
          • Populating Tree Views
          • Filling a Drill-Down Tree-View
          • Filling a Complete Tree View
          • Filling a Tree View on Demand
          • Level and KeyPosition in Tree Views
        • 6.15.5 List View
        • 6.15.6 Defining a List-Type Component
          • Hidden Columns
          • Specifying the Column Width
          • Sorting the Lists
        • 6.15.7 Filling a List-Type Component
        • 6.15.8 Working with Items in Lists
          • Understanding selection and loss of selection in list views
          • Understanding focus and loss of focus in list views
          • Run-time Properties of Tree Items
          • The Value of a List Item Is the Value of the Source Field
          • Updating the Selected Item in a List
          • Updating All Items in a List
          • Deleting an Item from a List
          • Dynamically Assigning Icons in a List View
          • Creating a Desktop Menu Using Large Icons in List View
          • Sorting List Views 1
          • Sorting List Views 2
          • Saving and Restoring a List from a File
          • Special Lists: Graph
          • Special Lists: Multi-line Edit Box
          • Error Handling in a Grid/List
      • 6.16 Tab Folder Framework
        • 6.16.1 Virtual Tab Folders
        • 6.16.2 Undocking and Docking Tab Sheets
        • 6.16.3 Closing a Tab Sheet
        • 6.16.4 Virtual Tab Folder Properties
        • 6.16.5 Autohiding Virtual Tab Folders
        • 6.16.6 Tab Framework Events and Methods
        • 6.16.7 Tab Folder Example Source
      • 6.17 Menus
        • 6.17.1 Creating Menus
        • 6.17.2 Accelerator Keys
        • 6.17.3 Shortcut Keys
        • 6.17.4 A Few Things to Remember about Keyboard Access
        • 6.17.5 Writing the Menu Events
        • 6.17.6 Creating a Standard Menu Automatically
        • 6.17.7 Creating a Popup-Menu
      • 6.18 Displaying Messages and Errors
        • 6.18.1 Status Bars
        • 6.18.2 Message Boxes
        • 6.18.3 Visually Showing Error States
      • 6.19 Multi-Form Applications
        • 6.19.1 Basic Rules for Multi-Form Applications
        • 6.19.2 A Two-Form Application
        • 6.19.3 Create a Two Form Application
        • 6.19.4 Show Multiple Instances of FRMDETAIL
        • 6.19.5 Communication is always Between an Owner Form and a Member Form
        • 6.19.6 Why Are the Contents of a Form Hidden from Other Forms?
        • 6.19.7 Source Code for the Multi-Form Example Forms
          • Work with Employees Form
          • Work with Employees Form with a Forms Collection
          • Employee Details Form
      • 6.20 Reusable Parts
        • 6.20.1 Why use Reusable Parts?
        • 6.20.2 What Is Using a Reusable Part Like?
        • 6.20.3 When Should Reusable Parts Be Used?
        • 6.20.4 Create a Reusable Part
          • Step 1. Create your Test Form
          • Step 2. Create your Reusable Part
          • Step 3. Use your Reusable Part in your Test Form
          • Step 4. Add More Functionality to the Reusable Part
          • Benefits of Reusable Parts
        • 6.20.5 User-Designed Controls
          • Designs
      • 6.21 Ancestor Components
        • 6.21.1 Form Ancestor
          • Create an Ancestor Form
            • Source for the Ancestor Form
          • Inherit from the Ancestor
          • Change a Property in the Ancestor
          • Override the Ancestor&
          • Redefine the Ancestor&
          • Customize the Inheriting Form
          • Remove the Ancestor
          • Unknown
        • 6.21.2 Button Ancestor
          • Create a Button Reusable Part
          • Use the Button Reusable Part
          • Create another Button Reusable Part
          • Use the Second Button Reusable Part
        • 6.21.3 Date Display Ancestor
          • Create a Date Display Reusable Part
          • Use the Date Display Reusable Part
          • Create another Date Display Reusable Part
          • Redefine the Ancestor&
          • Use the Inheriting Date Display Reusable Part
        • 6.21.4 Advanced Inheritance Topics
          • Inherit User-defined Events, Methods and Properties
          • Hide User-defined Events, Methods and Properties
          • Unknown
      • 6.22 Collections
        • 6.22.1 Types of Collections
        • 6.22.2 LANSA Collections
        • 6.22.3 Keyed Collections
          • Example 1: Create a Keyed Collection
            • Define the Collection
            • Add Items to the Collection
            • Work with the Collection Items
            • Source Code for Collection Example 1
          • Example 2: Collections do not Need to Be Keyed by Index
            • Define the Collection
            • Add Items to the Collection
            • Work with the Collection Items
            • Source Code for Collection Example 2
          • Example 3: Collection to Manage Forms
            • Define the Collection
            • Add Items to the Collection
            • Work with the Collection Items
            • Source Code for Collection Example 3
          • Factory and Collection Style Collections
            • Factory and Collection Style Example
          • Example 4: Collection of Menu Items
            • Define the Collection
            • Add Items to the Collection
            • Destroy an Item in the Collection
            • Source Code for Collection Example 4
          • Example 5: Dynamically Create Buttons
            • A Dynamic Collection
            • Collection and Buttons Are Created at Run-Time
            • Destroy the Collection
            • Source Code for Collection Example 5
        • 6.22.4 Other Optimized Collections
          • Array Collection Example
            • Define the Collections
            • Add Items to the Collections
            • Retrieve the Values from the Collections
            • Source for the Example
          • List Collection Example 1
            • Define the Collection
            • Add Items to the Collection
            • Retrieve Items From the Collection
            • Source Code for List Collection Example 1
          • List Collection Example 2
            • The Employee Object
            • Define the Collection
            • Add Items to the Collection
            • Retrieve Items from the Collection
            • Source Code for List Collection Example 2
          • Sorted Array Collection Example
            • Define the Collection and Adding Items to It
            • Retrieve the Items in the Collection
            • Source for Sorted Array Collection Example
        • 6.22.5 Collection Programming Summary
          • Add Items to Collections
          • Access Collection Items
            • FOR/ENDFOR
            • Collection Properties
            • Read-Only Access to Collections
            • Source Code for the Collection Programming Example
      • 6.23 Referencing
        • 6.23.1 Dynamic Multi-Form Application
          • Define the Reference
          • Create the Reference
          • Destroy the Reference
          • Check that Reference Has Been Destroyed
          • Source Code for the Dynamic Reference Forms
            • Main Form
            • Address Form
      • 6.24 Data Classes
        • 6.24.1 Using a Data Class
        • 6.24.2 Data Classes as Variables
      • 6.25 Using Common Dialogs
        • 6.25.1 Color Dialog Sample Form
        • 6.25.2 Save Dialog Sample Form
        • 6.25.3 Open Dialog Sample Form
      • 6.26 Property Sheets
        • 6.26.1 Basics
          • Columns
          • Rows (Entries)
        • 6.26.2 Picklists
          • Set Up Picklists
          • Create an Entry with Picklist
          • Retrieve the Selected Picklist Item
          • Picklist Code You Can Copy
        • 6.26.3 Property Sheet Example
          • Code for the Property Sheet Example
          • Property Sheet Notes
      • 6.27 Keyboard and Mouse Components
      • 6.28 Drag-and-Drop
        • 6.28.1 Payload
          • Source for the DD_EMPPL Payload
        • 6.28.2 Example 1: Move Employees in a Tree
          • Source for the Employee Drag-and-Drop Tree
        • 6.28.3 Example 2: Move Employees between Two Forms
          • Source for the Source Form
          • Source for the Target Form
      • 6.29 What the Application will look like
        • 6.29.1 Layout Managers
          • Table Layout Manager
            • Understand the Table Layout
            • Create a Table Layout
            • Add Controls to a Table Layout
          • Other Layout Managers
            • Attachment Layout Manager
            • Flow Layout Manager
            • Grid Layout Manager
            • Split Layout Manager
            • Specify the Layout Manager
            • Set the Layout Properties
            • Run Applications with Layout Managers
        • 6.29.2 DirectX Styles
          • Defining Styles
          • Using Styles
          • MouseOverStyle and MouseOverStyles Properties
          • PrivateStyle and PrivateStyles Properties
          • Runtime Styles
        • 6.29.3 Visual Styles
          • The Scope of Visual Styles
          • Shipped Visual Styles
          • Set the Default Visual Style for New Forms
          • Create or Edit a Visual Style
          • Set Colors
          • Preview your Visual Style
        • 6.29.4 Themes
          • Using Themes
          • Setting the Theme of All Forms
          • Available Themes
          • Theme Properties of Controls
          • Customizable 2003Color Theme Type
          • Themes and VisualStyles
      • 6.30 Remember the User&
      • 6.31 Help Text and Documenting Components
        • 6.31.1 Writing Help Text
        • 6.31.2 iHelpHandler Interface
          • iHelpHandler Code Example
        • 6.31.3 Documenting Components
      • 6.32 GUI Guidelines
        • 6.32.1 Correct Use of Controls
          • Think about the Purpose of the Control
          • How Do I Represent a… ?
          • There Are Only Three Ways for the User to Trigger an Action
        • 6.32.2 A Few Rules for Navigation
        • 6.32.3 Visual Design
        • 6.32.4 Tab Sequence and Defaults
        • 6.32.5 Hints
        • 6.32.6 Loading Large Amounts of Data
        • 6.32.7 Casual and Power Users
        • 6.32.8 Plan Your Application
      • 6.33 Converting an Existing Application
        • 6.33.1 Structure
        • 6.33.2 Steps Required for Transforming an Existing Application
        • 6.33.3 Converting a Work with... Type of Application
        • 6.33.4 Showing Objects that Contain Lots of Details
    • 7. ActiveX Controls
      • 7.1 Using ActiveX Controls
        • 7.1.1 Before You Decide to Use an ActiveX Control
        • 7.1.2 Obtaining ActiveX Controls
          • Downloading and Installing an ActiveX Control
        • 7.1.3 Enrolling an ActiveX Control in the Repository
        • 7.1.4 Pre-Enrolled ActiveX Components
        • 7.1.5 Viewing the ActiveX Control
          • Properties Interface
          • Component Features
          • Component Help
        • 7.1.6 ActiveX Terminology
          • Type Library
          • ProgID
        • 7.1.7 Using an ActiveX Control
          • Setting Properties at Design Time
          • Retrieving the URL from the Browser Control
          • Events
          • A Note about Initializing ActiveX Controls
        • 7.1.8 ActiveX Error trapping
        • 7.1.9 Licensing and Deployment
      • 7.2 Integrating with ActiveX-Enabled Applications
        • 7.2.1 Enrolling an ActiveX-Enabled Application
        • 7.2.2 Accessing the Application&
          • Documents Collection
          • ActiveDocument Property
        • 7.2.3 Important Note about Syntax with ActiveX Collections
        • 7.2.4 Example of Integrating Microsoft Word
          • Referencing the Application
          • Setting Properties
          • Using the Add Method
          • Using Methods to Insert Text
          • Print Method
          • Showing a Word Dialog
          • Getting a Return Value
          • Example Source
        • 7.2.5 Properties of Type IDispatch
      • 7.3 ActiveX Wrapping
        • 7.3.1 Prerequisites
        • 7.3.2 Creating an ActiveX Component
        • 7.3.3 Examples
          • General Setup Tasks
            • Session initialization
            • Add the Common Controls to the Project
            • Add a Reference to the LANSA Session Object
          • Case 1 - Show a Form
            • Add the Visual LANSA Component
            • Add the Visual Basic Form
          • Case 2 - Embed a Reusable Part
            • Add the Visual LANSA Component
            • Add the Visual Basic Form
          • Case 3 - Use Components as Business Objects
            • Add the Visual LANSA Components
            • Add the Visual Basic Form
        • 7.3.4 Troubleshooting
        • 7.3.5 Syntax differences from Visual Basic 6.0 to Visual Basic.NET
          • Add References to the LANSA Objects
          • Initialize the Session
          • Create a Visual LANSA Component
          • Imbed a Visual LANSA Component on a Visual Basic.NET Form
        • 7.3.6 Source Code
          • Case 1 - Show a Form
            • Case 1 - Visual LANSA Source
            • Case 1 - Visual Basic - Object
            • Case 1 - Visual Basic - Code
          • Case 2 - Embed a Reusable Part
            • Case 2 - Visual LANSA Source
            • Case 2 - Visual Basic - Object
            • Case 2 - Visual Basic - Code
          • Case 3 - Using Components as Business Objects
            • Case 3 - Visual LANSA Source
            • Case 3 - Visual Basic - Object
            • Case 3 - Visual Basic - Code
    • 8. .NET Components
      • 8.1 Before You Decide to Use a .NET Component
      • 8.2 Using .NET Components
        • 8.2.1 Obtaining .NET Framework Components
        • 8.2.2 Enrolling a .NET Framework Component in the Repository
        • 8.2.3 Using a .NET Component
          • .NET Component Features
          • .NET Collections
          • .NET Component Sample Code
        • 8.2.4 Deploying a Component
      • 8.3 Visual LANSA Restrictions and Naming Conventions for .NET Component Classes
    • 9. External Resources
      • 9.1 Register Multiple External Resources
      • 9.2 Edit External Resources
    • 10. Application Templates
      • 10.1 Using Application Templates
        • 10.1.1 What is a Template?
        • 10.1.2 How are Templates Used?
        • 10.1.3 LANSA Shipped Templates
        • 10.1.4 Steps for Using Templates
        • 10.1.5 Tips for Using Templates
        • 10.1.6 Modifying Templates
      • 10.2 Creating Application Templates
        • 10.2.1 Introduction to Template Code
        • 10.2.2 Template Commands
        • 10.2.3 Template Special Variables
      • 10.3 Application Template Program Examples
        • 10.3.1 Data Entry Program
        • 10.3.2 Header/Detail Style Inquiry Template
    • Appendix A. System Variable Evaluation Programs
      • RDML Functions
      • 3GL Programs
    • Appendix B. Domino Integration Examples
      • Example 1: Creating a New Document in a Database
      • Example 2: Selecting Documents from a Database using a View
      • Example 3: Executing an Agent in a Database
      • Example 4: Updating Documents Selected from a Browse List

Get in touch

Submit feedback about this site to:

  • [email protected]

© documentation.help. Design: rehmann.co.