PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Possible operations
  • Displaying the description of an internal component
  • Adding an element into the internal component
  • Deleting an element from the internal component
  • Displaying the graph of the internal component
  • Modifying the public and private elements of an internal component
  • Deleting an internal component
  • Listing the internal components of project
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
An internal component is a group of project elements. This grouping is used to:
  • Organize a project: the internal components can be used to group the project elements, by feature for example.
  • Share the elements among several projects: The elements found in an internal component can be shared between several projects via the SCM. See Sharing an internal component for more details.
The editor allows you to handle an internal component:
  • from the project graph. A graph specific to the internal component can be displayed.
  • from the "Project explorer" pane.
    Versions 18 and later
    The elements of an internal component are viewed in a hierarchical structure in the project explorer: windows, reports, pages, ...
    New in version 18
    The elements of an internal component are viewed in a hierarchical structure in the project explorer: windows, reports, pages, ...
    The elements of an internal component are viewed in a hierarchical structure in the project explorer: windows, reports, pages, ...
Possible operations

Displaying the description of an internal component

To display the description of an internal component:
  1. Select the internal component (in the project graph or in the "Project explorer" pane).
  2. Select "Description" from the popup menu.

Adding an element into the internal component

An element can be added into an internal component:
  • via the description of the internal component ("Elements" tab).
  • via the "Project explorer" pane (or via the project graph). To do so, Drag and Drop an element from the project to the internal component.
The corresponding file is physically moved to the directory of the internal component. By default, the element included in the internal component is "Public". In order for this element to become "Private", select "Switch to private" from the popup menu of the element.

Deleting an element from the internal component

An element can be deleted from the internal component:
  • via the description of the internal component ("Elements" tab).
  • via the "Project explorer" pane: a Drag and Drop operation performed on an element of the internal component to the corresponding project category allows you to "remove" the element from the internal component. The element becomes associated with the project.
Caution: If an element found in an internal component is deleted via the [DEL] key in a project that does not use the SCM, this element will not be part of the project anymore. To re-include this element of the internal component in the project, this element will have to be opened and added to the project manually.

Displaying the graph of the internal component

In the project graph, a double click performed on an internal component allows you to view its graph.
This action can also be performed from the "Project explorer" pane ("Open the graph" from the popup menu of the internal component).

Modifying the public and private elements of an internal component

The modification of the public and private elements found in an internal component can be performed:
  • In the "Project explorer" pane or in the project graph, select the element then select "Switch to private" or "Switch to public" from the popup menu. If the element is switched to private, a red square is displayed on the element in the "Project explorer" pane.
  • From the description of the internal component ("Elements" tab).

Deleting an internal component

An internal component can be deleted from the project by pressing the [Del] key.
Caution: If an internal component is deleted from a project that does not use the SCM, the elements of the internal component will not be part of the project anymore. To re-include the elements of the internal component in the project, the elements of the internal component will have to be opened and added to the project manually.
To re-include the internal component in the project, select "Workshop .. Internal component .. Import an internal component into the project .. From a file".To re-include the internal component in the project, on the "Project" pane, in the "Project" group, expand "Import" and select "An internal component .. From a file".

Listing the internal components of project

To list the internal components of a project:
  1. Select "Workshop .. Internal component .. Manage the internal components of the project".In the project explorer:
    • Select the "Internal components" folder.
    • select "Manage the internal components of the project" from the popup menu.
  2. The window that is displayed lists all the internal components used by the project. From this window, you can:
    • Display the description of the selected internal component.
    • Update the internal component (during a share via SCM).
    • Delete an internal component.
    • Import an internal component found in the SCM.
    • Import the files of an internal component into the project. This option allows you to copy the files of an internal component into the current project. The files are copied and not shared. This option is useful when a component is deleted by mistake from the project.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment