You are here: Visual LANSA User Guide > 8. Editor Basics > 8.5 Commands

8.5 Commands

Following the command name, in brackets, is the ribbon on which you will find it.


Displays LANSA Product Information.

ActiveX Attributes


Sets the attributes required to expose this component as an ActiveX control.
Refer to ActiveX Controls in the Developer Guide.



In animate mode the debug automatically steps from one command to the next while showing the line currently being executed.
You can set the delay between commands using the Delay command.
Refer to Animate Application Execution.

Animate All


This option is otherwise the same as animate, except that it also executes functions or components which have been marked as not debuggable.
You can set the delay between commands using the Delay command.
Refer to  Animate Application Execution.



Checks the syntax of your code and generates the code for the target platform you have specified.

Clear All Breakpoints


Clear all breakpoints set in the open application.
Refer to Set Breakpoints.



Closes current the object.

Close All

Closes all objects.

Comment Selection

Shortcut: Ctrl  + W
Comment selected lines of code.



Checks the syntax of your code, generates the code and compiles it for the target platform you have specified. 
Refer to Compile Tab.

Continue Execution (F5)


Continue the execution of the open application.
Refer to Start Debugging.



Copies the selection to the Clipboard.



Cuts the selection and puts it in the Clipboard.



Start the Debug operation. Refer to Debugging Applications for more information.



Specify the delay time between the execution of commands.
Refer to Animate Application Execution.



Deletes the selection



When you select this command, the Deployment Tool will start. You can use this tool to create a list of objects, both LANSA and non-LANSA, to be deployed. Refer to the Deployment Tool Guide.

Design (F10)

Shortcut (F10) to open the Design Tab.

Design Check

Checks the design of your screen or report.

Disable All Breakpoints


Disable all breakpoints set in the open application.
Refer to  Set Breakpoints.

End Debug


Ends the current debug session.
Refer to Start Debugging.

Error Logs


Error Logs shows the Local and Web run time error logs.



Runs your code on the platform you specify.
Refer to  Executing Applications.



Closes the editor.

Find Next


Finds the next occurrence of the specified text in the Source tab.
Refer to Find.

Find Previous


Finds the previous occurrence of the specified text in the Source tab.
Refer to Find.



Finds the specified text in the Source tab.
Refer to Find.

Full Check


Checks the syntax of your code.

Halt Execution


Halts the program execution and terminates the debug session.
Refer to Start Debugging.



Shows a list of components which have been executed. You can use this list to quickly execute components.

Import Translations


Import translations to the current partition.

Integrator Studio


Launches Integrator Studio.

LANSA Client


Launches LANSA's end user reporting tool, LANSA Client, if it is installed.



Use this option to import data into the repository. To do this you must have first used LANSA export function which creates files that can then be imported into Visual LANSA. They can be directly imported from a PC "local directory" using shared folder support or from a directory on a drive. If a shared folder is used, PC Support must be started.
Please note that before you start to import data into the repository, your repository must be already configured adequately. Refer to LANSA Import in the Administrator Guide.

Lock Design


Toggles the locking of the design.
Refer to Lock Design.

Logical Modeler


Use the Logical Modeler to design and manipulate a complete logical data model using elements, entities and relationships and then build a physical database from this model. Refer to the Logical Modeler Guide.

Message Files...


Shows the Message Files dialog.
Refer to Message File Maintenance in the Administrator Guide.

Refer to User Message Files for information about using User Message Files in the Multilingual Application Design Guide.



Creates a new object.

Next Object

(Quick access toolbar)

Shows the next open object.



Displays the Open dialog for you to enter the name of an object. This option allows you to directly open an object provided you know the name of it. Refer to Open an Object for more details.

Open Objects


Switch between the objects open in the editor.



Inserts the Clipboard contents at the insertion point.

Previous Object

(Quick access toolbar)

Shows the previous open object.



Prints the source code of the object being edited.
Refer to Printing in Visual LANSA.

Product Information

(Help dropdown list)

Displays the LANSA Product Information dialog.
Refer to Product Information.



Publishes all weblets.

Quick Export


Quickly export component definitions.

Refer to Quick Export in the Administrator Guide.



Reinstates the change which was cancelled using Undo.

Refresh Master Object List


Retrieve information about objects in the master repository. The Master Repository State column in the Repository and Favorites tabs indicates whether an object exists in the master repository.
Refer to Refresh Master Object List in the Administrator Guide.



Replaces selected text with the specified text in the Source tab

Refer to Replace.

Repository Find...


Locates objects in the repository.
Refer to Repository Find.



Saves the definition of the current object.

Save All


Saves the definition of all open objects.

Saved Definitions

Shows the Saved Definitions dialog.



Opens the LANSA Options to modify the Editor options.

(Help dropdown list)

Lists the keyboard shortcuts that can be used in the editor.
Refer to Keyboard Shortcuts.


Shortcut (F9)

Moves focus to the Source Tab.

Source Audit Find...


Provides a code search within source code with the Audit Stamps, if selected in Source Settings in the LANSA Options.

Start Host Monitor


Starts the Host Monitor for Repository Synchronization.
When checking objects in or out of the master repository, it is not necessary to manually start the Host Monitor as it is started automatically in the background.
Refer to Start and Stop the Host Monitor in the Administrator Guide.

Step Into


Executes the current statement and breaks at the next line.
You can use Step Into to execute code one statement at a time. After stepping through each statement, you can see its effects by looking at the Variable window.
Refer to Run Parts of Application.

Step Over


Execute the procedure called by the current line and break at the line following the current line.
Step Over is identical to Step Into except when the current statement contains a call to a procedure, Step Over executes this procedure as a unit and then steps to the next statement in the current procedure.
Refer to Run Parts of Application.

System Information


Contains the settings that control the processing of items related to the master, if running a slave system. For further information, refer to System Definitions in the Administrator Guide.

Text Search


Opens the Text Search dialog to search your Source code as described in Text Search.



Translate LANSA object details.

For further information, refer to Translate Objects in the Application Deployment Tool guide.

Uncomment Selection

Shortcut: Ctrl + Shift + W
Uncomment selected lines of code



Ctrl + Z

Cancels previous change.



Upgrade repository definitions.

The upgrade tools include a facility to convert files to use an identity column to store the relative record number in the database.

Use Template


Shows a list of templates you can use to create applications.

Using the Editor

(Help dropdown list)

Displays the topic Editor Tabs in the User Guide.




Use the Tabs command to display the various tabs in the editor.

Web Runtime Error Log


To locate fatal errors in your code, select this command, to open the Web Runtime Error Log Viewer.




8.4 Context Menus