Choose this option to view the file associated with the selected tree item. If the file is not open in the Studio then it is opened. If the file is already open, then its window is bought to the front.
Repeatedly selecting "View" to the same file, toggles between Code Editor and Designer view to that file.
Double-clicking the tree item associated with a file is another way to view the file.
Select this option to open a Windows Explorer window pointing to the directory containing the file associated with the selected tree item. The file is highlighted in the Windows Explorer window.
Copies the file name (including extension) of the currently selected component into the copy/paste buffer.
Copies the path of the currently selected component into the copy/paste buffer.
Copies the path and file name (including extension) of the currently selected component into the copy/paste buffer.
Select this option to open the application URL for a web application in a new tab of your default web browser. This allows you to run the web application outside of the debugger.
Select this option to copy the application URL for a web application. The URL is copied to the clipboard. This is a useful way to enter the URL of the current web application in the address box of your web browser.
This item changes depending on the type of component that is currently selected. Select this option to launch the “Create New” operation for the selected type of component. For example, if Workspace Explorer is showing a Windows project then you can create a new View by right-clicking in the “Views” section of the treeview and selecting “New View”.
Activates the Open File dialog. Use this to select one or more component files to add to the current project. You would use this operation to add "major" components such as views and reports to your project.
When you add a component to your project in this way the Studio will generate a use statement inside the appropriate object in your project.src file. The location of the use statement is determined by the type of project that you are modifying. For example:
If you add a Web Service Object component to a Web Application project then a Use statement for the component will be generated inside the project's cWebApp object.
If you add a Report component to a Windows MDI project then a Use statement for the component will be generated inside the project's ClientArea object.
Not all component categories can be added to the project in this way. Some components, such as database dialogs and data dictionary components are indirectly added to your project. For example, when you add a View project that view will itself use one or more data dictionaries and may also use one or more database dialog components.
If you are adding view and report components then special menu entries can be generated for activating the view or report object.
Menu generation will only occur if your project.src contains the correct structure of menu objects and if "Auto Generate Menus when Adding Components" is checked in the Project Properties dialog.
As a convention, the menu object that will be modified when adding a view must be named oViewMenu. In a windows application report views are also added to a menu object named oReportMenu.
The Windows Project template in the Create New dialog will create an MDI Windows application project with the necessary structure of objects for a windows application. The New Web Project wizard will do the same for a new web application.
Removes the selected component from the current project. The component file is not deleted but the use statement for that component will be removed from the project.src file.
Components that are used indirectly, such as database dialogs or data dictionaries cannot be removed in this way. Instead, you must edit the source code to remove the use statements from the appropriate component files.
Another way to remove components from the current project is to activate the Remove Components dialog. To activate this dialog select Remove Components from the Projects menu. This dialog displays a list of all components that are available for removal. This dialog supports multi-selection to remove more than one component at a time.
Adds a project.src file to the current workspace's list of projects.
Whenever you create a new project in your workspace it is automatically added to the list of projects in the current workspace. However, if you copy a project.src file into your workspace then it must be manually added to the workspace's project list. The project.src must be located in one of the workspace source paths.
Removes a project from the current workspace's list of projects.
If the current project is a Windows MDI application, then it can be selected as a special project for testing view or report view components. When you are editing a View or Report View component you can select a context menu option for testing that view. When you do so it will add the view to this special test project, compile and run it.
Checking this option selects the current project as the workspace's special test project for testing view or report views.
Un-checking this option de-selects the current project as the workspace's special test project.
A workspace can have many test projects but only one project can be selected as the special test project for testing views and reports.
See Also: Test View/Report in Project, Enhanced Component Testing.
Activates the Project Properties dialog for the current project.