PC SOFT

WINDEV的在线文档

  • Overview
  • Features of the "Project explorer" pane
  • General operations in the project explorer
  • Managing the project and its elements
  • Reverse modeling and crossed references
  • Managing the analysis
  • Performing a search with the project explorer
  • "Other" section: including elements in the executable
  • Configuring the display of the explorer
  • Displaying the "Project explorer" pane
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
The "Project explorer" pane is used to simplify the development environment of WinDev, WebDev and WinDev Mobile.

This pane is used to:

  • list the project elements.
  • list the analysis elements.
  • list the procedures, the classes, ...
  • perform a search in the current project.

Features of the "Project explorer" pane

General operations in the project explorer

The project explorer is organized in two sections:
  • a first section that lists the project elements (windows, reports, classes, pages, ...).
  • a second section that lists the details of the element selected in the first section.
You have the ability to Drag and Drop the selected elements toward the environment. For example, you can Drag and Drop a global variable into a window in order to create an edit control.

You can also Drag and Drop elements into the project explorer: for example, an element can be moved into a custom-folder or into an internal component.

The icon is used to position the project explorer on the current element in the editor.

Several buttons are available in the second section of the explorer: "Create", "Edit" and "Display".

The "Create" button proposes several creation options:

  • on the element selected in the first section of the explorer.
  • on the element selected in the second section of the explorer.
The "Edit" button proposes several edit options:
  • on the element selected in the first section of the explorer.
  • on the element selected in the second section of the explorer.
The "Display" button is available when selecting a group of elements (windows for example). It is used to display (or not) the elements coming from external components in the project explorer.

Note: If you are working with a wide screen, the project explorer is used to entirely free the space at the bottom of the screen.

Managing the project and its elements

All the project elements are grouped in the project explorer. A double click performed on the name of the element enables you to display it in the environment.

The popup menu of the project is used to perform the most common operations on the project:

  • Display the project description,
  • Recompile the project,
  • Create a new element,
  • List all the project elements,
  • Manage the custom-folders. See Custom-folders for more details.
  • ...
Each project element includes its own popup menu that proposes all the features available for this element.

The "Configuration" element is used to manage the project configurations. The popup menu is used to add a new configuration or to manage the existing configurations. The elements that do not belong to the selected configuration are grayed in the project explorer.

For the windows and the reports, the project explorer lists the controls found in the selected element as well as the local variables and the local procedures.

For the queries, the project explorer lists the result items of the query as well as its parameters.

The "Procedures" section" groups the sets of procedures (sets of procedures for the project or sets of procedures for the components found in the project). The constants, the global variables and the procedures are listed for each set of procedures. The project explorer can also be used to create sets of procedures or procedures.

For the classes, the project explorer lists the members and the methods. The project explorer can also be used to create new classes or methods.

For the internal components, the project explorer lists the internal components and their elements. The elements are listed in a tree structure, grouped by type (windows, reports, ...).

Only the branches containing elements are displayed.

The project explorer also lists the global variables of the project as well as the files and items found in the analysis.

Reverse modeling and crossed references

The popup menu of the project elements is used to perform a reverse modeling and/or to display the crossed references.

Managing the analysis

The project explorer displays the analysis of the current project, which means the data files and their items. The analysis displayed corresponds to the last generated analysis that can be used in the application.

Reminder: The "Analysis" pane displays the analysis currently edited and it is used to handle the description of the data files or items.

To create the corresponding controls, all you have to do is Drag and Drop the items toward a window, a page or a report.

20版本和更高版本
Note: The project explorer displays a tooltip when a composite key is hovered by the mouse. This tooltip contains the components of the composite key. The plus or minus sign found in front of the component name indicates the sort direction.
20新版本
Note: The project explorer displays a tooltip when a composite key is hovered by the mouse. This tooltip contains the components of the composite key. The plus or minus sign found in front of the component name indicates the sort direction.
Note: The project explorer displays a tooltip when a composite key is hovered by the mouse. This tooltip contains the components of the composite key. The plus or minus sign found in front of the component name indicates the sort direction.

Performing a search with the project explorer

To perform a search with the project explorer:
  1. Type the word or the expression to find in the "Search" area.
  2. Clickto start the search. The search is performed in all the names of the project elements. The result is displayed in the second section of the project explorer. A double click performed on the element enables you to display it in the explorer.
  3. To perform a more advanced search, the option "Double-click here to perform a search in the code and in the content of the elements" is added into the second section of the explorer. A double click on this option displays in the project explorer:
    • all the references to the sought word found in the WLanguage code.
    • all the references to the sought word found in the content of controls (control caption, notes, ...).

WinDev

"Other" section: including elements in the executable

You have the ability to include files (HFSQL data files, images, sounds, ...) in the generated executable. This allows you to use resources that must not be visible on the disk of the end user.

To do so, these resources must be included in the project via the "Other" folder of the project explorer.

17版本和更高版本
The following features are used to simplify the operations performed on the "Other" folder:
  • The "Drag and Drop" of elements to include in the "Other" folder can be performed from the Windows file explorer.
  • A popup menu on the "Other" menu is used to add or delete elements.
  • An "Other" folder is also available in each internal component, allowing you to include elements in the shared internal components.
  • The function used to perform a search in the project also browses the "Other" folder of the project.
17新版本
The following features are used to simplify the operations performed on the "Other" folder:
  • The "Drag and Drop" of elements to include in the "Other" folder can be performed from the Windows file explorer.
  • A popup menu on the "Other" menu is used to add or delete elements.
  • An "Other" folder is also available in each internal component, allowing you to include elements in the shared internal components.
  • The function used to perform a search in the project also browses the "Other" folder of the project.
The following features are used to simplify the operations performed on the "Other" folder:
  • The "Drag and Drop" of elements to include in the "Other" folder can be performed from the Windows file explorer.
  • A popup menu on the "Other" menu is used to add or delete elements.
  • An "Other" folder is also available in each internal component, allowing you to include elements in the shared internal components.
  • The function used to perform a search in the project also browses the "Other" folder of the project.

18版本和更高版本

Configuring the display of the explorer

You have the ability to configure the display and sort options used in the project explorer:
  1. Click.
  2. In the window that is displayed, select the requested options:
The display options are as follows:
  • Options for displaying the explorer
    • Sort in alphabetical order: All the project elements are displayed in their folder sorted in alphabetical order (default option).
    • Sort by modification date: All the project elements are displayed in their folder sorted in descending order according to their last modification date.
    • Display the elements found in the external components: If your project uses one or more external components, you have the ability to display in the explorer the details of the elements found in these components.
  • Procedures and methods
    • Sort in alphabetical order: The procedures and the methods are displayed in ascending order according to their name (default option).
    • Sort by modification date: The procedures and the methods are displayed in descending order according to their last modification date.
    • Sort by visibility (public, protected, private): The procedures and the methods are classified and displayed according to their visibility attribute: Public, Protected and Private.
    • Sort by group of colors: The procedures and the methods are classified and displayed according to the color that was assigned to them.
  • Classes
    • Display the elements of the base classes: This option is used to display (or not) the elements belonging to the base classes (in case of inheritance or overload for example).
    • Display the public elements only: This option is used to display the public elements found in the classes (members, methods).
  • Analysis items
    • Sort in logical order: The items of each data file are displayed in the order in which they have been created when entering the description of the data file.
    • Sort in alphabetical order: The items of each data file are displayed in ascending order according to their name.
18新版本

Configuring the display of the explorer

You have the ability to configure the display and sort options used in the project explorer:
  1. Click.
  2. In the window that is displayed, select the requested options:
The display options are as follows:
  • Options for displaying the explorer
    • Sort in alphabetical order: All the project elements are displayed in their folder sorted in alphabetical order (default option).
    • Sort by modification date: All the project elements are displayed in their folder sorted in descending order according to their last modification date.
    • Display the elements found in the external components: If your project uses one or more external components, you have the ability to display in the explorer the details of the elements found in these components.
  • Procedures and methods
    • Sort in alphabetical order: The procedures and the methods are displayed in ascending order according to their name (default option).
    • Sort by modification date: The procedures and the methods are displayed in descending order according to their last modification date.
    • Sort by visibility (public, protected, private): The procedures and the methods are classified and displayed according to their visibility attribute: Public, Protected and Private.
    • Sort by group of colors: The procedures and the methods are classified and displayed according to the color that was assigned to them.
  • Classes
    • Display the elements of the base classes: This option is used to display (or not) the elements belonging to the base classes (in case of inheritance or overload for example).
    • Display the public elements only: This option is used to display the public elements found in the classes (members, methods).
  • Analysis items
    • Sort in logical order: The items of each data file are displayed in the order in which they have been created when entering the description of the data file.
    • Sort in alphabetical order: The items of each data file are displayed in ascending order according to their name.

Configuring the display of the explorer

You have the ability to configure the display and sort options used in the project explorer:
  1. Click.
  2. In the window that is displayed, select the requested options:
The display options are as follows:
  • Options for displaying the explorer
    • Sort in alphabetical order: All the project elements are displayed in their folder sorted in alphabetical order (default option).
    • Sort by modification date: All the project elements are displayed in their folder sorted in descending order according to their last modification date.
    • Display the elements found in the external components: If your project uses one or more external components, you have the ability to display in the explorer the details of the elements found in these components.
  • Procedures and methods
    • Sort in alphabetical order: The procedures and the methods are displayed in ascending order according to their name (default option).
    • Sort by modification date: The procedures and the methods are displayed in descending order according to their last modification date.
    • Sort by visibility (public, protected, private): The procedures and the methods are classified and displayed according to their visibility attribute: Public, Protected and Private.
    • Sort by group of colors: The procedures and the methods are classified and displayed according to the color that was assigned to them.
  • Classes
    • Display the elements of the base classes: This option is used to display (or not) the elements belonging to the base classes (in case of inheritance or overload for example).
    • Display the public elements only: This option is used to display the public elements found in the classes (members, methods).
  • Analysis items
    • Sort in logical order: The items of each data file are displayed in the order in which they have been created when entering the description of the data file.
    • Sort in alphabetical order: The items of each data file are displayed in ascending order according to their name.

Displaying the "Project explorer" pane
To display the project explorer, select "Display .. Toolbars .. Panes .. Project explorer".
Note: if this option is not available:
  1. Select "Tools.. Options.. Options of the environment".
  2. In the "Panes" tab, check "Project explorer".
  3. Validate.
To display the project explorer: on the "首页" pane, in the "环境" group, expand "窗格" and select "Project explorer".

See Handling the dockable panes for more details.