PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • How to proceed?
  • Find-Replace pane
  • Finding text
  • Finding text: the different search options
  • Sought text: using wildcard characters :?, *, - (wildcard)
  • Replacing the sought text
  • Finding elements
  • Search in the elements
  • Search result
  • Search result
  • Filtering the results displayed (text search only)
  • Storing the search results
  • History of searches
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
The ability to perform a search in the editors is an important feature contributing to efficiency. WINDEV, WEBDEV and WINDEV Mobile propose a very powerful search module. This module is used to find different types of elements in one or more projects.
This help page presents the search in a project available from version 18. To see the help about the search in the previous versions, see Find - Replace.
How to proceed?

Find-Replace pane

The search is performed from the "Find - Replace" pane.
To display this pane:
  • press [CTRL + F] from any editor.
  • on the "Home" pane, in the "Environment" group, expand "Panes" and select "Find - Replace".
The search can be performed on:
Targets of the search
  • text: words, expressions or section of word to find. The text can be typed in the search area.
  • a regular expression.
  • a conditional target-code: in this case, all you have to do is select the type of target-code to find.
  • the last modifications: all you have to do is specify the contributors who performed the modification and the search period.
  • a help about a command or a feature: all you have to do so is specify the word to find.
  • Versions 19 and later
    specific processes: to do so, specify the type of process that must be found:
    • processes containing automated procedures,
    • processes managing the errors automatically,
    • processes managing the exceptions automatically,
    • processes containing a preset action.
    New in version 19
    specific processes: to do so, specify the type of process that must be found:
    • processes containing automated procedures,
    • processes managing the errors automatically,
    • processes managing the exceptions automatically,
    • processes containing a preset action.
    specific processes: to do so, specify the type of process that must be found:
    • processes containing automated procedures,
    • processes managing the errors automatically,
    • processes managing the exceptions automatically,
    • processes containing a preset action.
  • Versions 21 and later
    elements: All you have to do is specify the relevant elements and the search criteria.
    New in version 21
    elements: All you have to do is specify the relevant elements and the search criteria.
    elements: All you have to do is specify the relevant elements and the search criteria.
Shortcuts used for search:
  • To perform a search on the selected text: [CTRL + F]
  • To force a search on the entire project on the selected text: [CTRL + SHIFT + F]
  • To force a search in the current element on the selected text: [CTRL + ALT + F]
Finding text

Finding text: the different search options

The "Find - Replace" pane proposes several options to find a text:
Options for text search
Search options:
  • Choosing the type of element to find (1): In this case, the search is performed on a text.
  • In (2):
    The sought text can correspond to a code, to the name of an element or to a word in the caption of a control.
    Search in
    Specify the type of element where the search will be performed:
    • the code: the search is performed in the source code only. This type of search is used to find a variable, a function, a comment, or any word or expression found in a source code.
      Versions 19 and later
      The search in the source code is also performed in the automatic procedures, the preset actions and the processes with error and/or automatic exception.
      New in version 19
      The search in the source code is also performed in the automatic procedures, the preset actions and the processes with error and/or automatic exception.
      The search in the source code is also performed in the automatic procedures, the preset actions and the processes with error and/or automatic exception.
    • the GUI: the search is performed in the GUI (interface) only. This type of search is used to find a window name, a control name, an image name, or any word or expression found in the interface of the project (window, page, report, ...).
    • the code and GUI: the search is performed both in the source code and in the GUI (interface).
  • For (3):
    This option is used to specify the target of the search, which means the elements that will be taken into account by the search.
    Target of the search
    The target can be:
    • Versions 20 and later
      the current code view: the search will be performed in the code window currently displayed in the code editor.
      New in version 20
      the current code view: the search will be performed in the code window currently displayed in the code editor.
      the current code view: the search will be performed in the code window currently displayed in the code editor.
    • the current element: for example, the window currently used, the code displayed, a report, ...
    • all the project elements: the search will be performed on all the elements found in the current project (windows, source code, reports, pages, ...).
    • some project elements: you can select the types of the elements on which the search will be performed (project only, reports, windows, analysis, ...).
    • several projects simultaneously (multi-project search): the search will be performed in several projects. You must specify the projects on which the search will be performed.
      • the "Directory" button is used to select the projects found in a directory or on a disk. All the WINDEV, WEBDEV or WINDEV Mobile projects found at this location will be taken into account. The search is also performed in the sub-directories of the specified locations. A UNC path can be specified.
      • the "Project" button is used to add a specific project (WINDEV, WEBDEV or WINDEV Mobile). Different types of projects can be added (a WINDEV project and a WINDEV Mobile project for example).
  • Of (4):
    If your project includes several configurations or internal components, you have the ability to specify whether the search will be performed in these modules. The search can be performed:
    • in all the configurations.
    • in a specific configuration.
    • in all the internal components.
    • in a specific internal component.
      Affected modules
  • With (5):
    When searching for text, you have the ability to specify the search options for the text:
    • Ignore the case: the search ignores the case (uppercase and lowercase characters)
    • Ignore the accented characters: the search ignores the accented characters
    • Ignore the punctuation: the search ignores the punctuation characters (comma, dot, dash), ...
    • Ignore the space characters: the search will ignore the space characters found before, after or between the words.

      You also have the ability to specify the selection mode of the words:
      • Word contains: the sought expression must contain the specified expression.
      • Whole word: the sought expression exactly corresponds to the specified expression.
      • Word starts with: the sought expression starts with the specified expression.
      • Word ends with: the sought expression ends with the specified expression.
        Search options on the text
  • Advanced options (6):
    You also have the ability to apply a filter. This filter can be performed:
    • on the code: you can take into account or ignore:
      • The source code: this option corresponds to WLanguage, the functions, the properties, ....
      • The comments: this option corresponds to the comments (//)
      • The strings: this option corresponds to the static character strings, between quotes.
      • The multilingual strings: this option corresponds to the translated strings (for a multilingual project).
    • on the GUI: you can take into account or ignore:
      • The controls: this option corresponds to the controls found in the window, in the page, in the report, ...
      • The links: this option corresponds to the analysis links (integrity constraints)
      • The multilingual properties: this option corresponds to the multilingual characteristics (for a multilingual project)
      • The files and the items: this option corresponds to the files described in the analysis, to the description of each file and to the description of items.
      • The dependencies: this option corresponds to all the objects associated with the project such as the images for example.
    • on the languages: Used to select the languages in which the search will be performed for a multilingual project.

Sought text: using wildcard characters :?, *, - (wildcard)

When typing the text to find, you have the ability to use wildcard characters in order to replace any other character.
  • The "?" character is used to replace any other character at the location where it was used. Several "?" characters can be used in the same search. This wildcard character can be used at any location in the sought word.
    For example, LOUI? will be used to find LOUIS as well as LOUIX.
  • The * character is used to replace one or more characters. This wildcard character can be used at any location in the sought word.
    For example:
    • LOUI* will be used to find LOUIS as well as LOUISE, ...
    • Customer.* = is used to find all the assignments of items in the customer file.
  • The - character (minus) is used to exclude words from the search. In this case, the word must be preceded by the minus sign -.
    For example "Position -HPosition -HRestorePosition" is used to find all the occurrences of "Position" other than "HPosition" and "HRestorePosition".

Replacing the sought text

The sought text can be replaced by a new text:
  1. Perform the search for the text.
  2. Enter the replacement text in the "Replace by" area.
  3. Expand the replacement arrow (9) and select the requested option:
    • Replace all: all the occurrences of the search will be replaced.
    • Replace the selection: the replacement will be performed for the selected result lines only.
Finding elements
Versions 21 and later

Search in the elements

The search for elements is used to find the elements (windows, pages, controls, classes, ...) that correspond to one or more criteria.
You can for example find:
  • all the Button controls whose name contains "Plus" to check their tooltip.
  • all the classes that use the "Customer" HFSQL file,
  • ...
To perform this search:
  1. In the search pane, specify the type of search: "elements".
  2. Click "No criterion" (if necessary) to add a criterion.
  3. Specify the type of element affected by the search:
    Type of affected element
  4. Build the search criterion.
    Search criterion
    Note: The lists propose the most common options. the "More choices" option is used to display the full list of available options.
  5. Add (if necessary) several criteria by clicking the "+" button.
  6. Click the "Search" button to start the search.
    Search result
Notes:
  • This search mode cannot be used to perform a replacement.
  • To access the sought element, all you have to do is double-click the result line.
New in version 21

Search in the elements

The search for elements is used to find the elements (windows, pages, controls, classes, ...) that correspond to one or more criteria.
You can for example find:
  • all the Button controls whose name contains "Plus" to check their tooltip.
  • all the classes that use the "Customer" HFSQL file,
  • ...
To perform this search:
  1. In the search pane, specify the type of search: "elements".
  2. Click "No criterion" (if necessary) to add a criterion.
  3. Specify the type of element affected by the search:
    Type of affected element
  4. Build the search criterion.
    Search criterion
    Note: The lists propose the most common options. the "More choices" option is used to display the full list of available options.
  5. Add (if necessary) several criteria by clicking the "+" button.
  6. Click the "Search" button to start the search.
    Search result
Notes:
  • This search mode cannot be used to perform a replacement.
  • To access the sought element, all you have to do is double-click the result line.

Search in the elements

The search for elements is used to find the elements (windows, pages, controls, classes, ...) that correspond to one or more criteria.
You can for example find:
  • all the Button controls whose name contains "Plus" to check their tooltip.
  • all the classes that use the "Customer" HFSQL file,
  • ...
To perform this search:
  1. In the search pane, specify the type of search: "elements".
  2. Click "No criterion" (if necessary) to add a criterion.
  3. Specify the type of element affected by the search:
    Type of affected element
  4. Build the search criterion.
    Search criterion
    Note: The lists propose the most common options. the "More choices" option is used to display the full list of available options.
  5. Add (if necessary) several criteria by clicking the "+" button.
  6. Click the "Search" button to start the search.
    Search result
Notes:
  • This search mode cannot be used to perform a replacement.
  • To access the sought element, all you have to do is double-click the result line.
Search result

Search result

The search result is displayed in a list. The element found is highlighted. If the element found corresponds to a code, the coloring of the code editor is applied. This allows you to easily identify the results and to simplify the reading.
Search result
Several actions can be performed on the content of this list:
  • Apply a breakpoint on a code line of the search result (via the popup menu).
  • Print the entire content of the list or a selection (via the popup menu).
  • Display the results on several lines.
To group the occurrences of a same line, click the Grouping and Grouping buttons. If the sought term appears more than once in a given code line, there is no need to display this line more than once in the result.

Filtering the results displayed (text search only)

Once the results are displayed, you have the ability to apply a filter in order to view some types of answers only. You have the ability to display answers coming from the code and/or from the GUI.
Filtering the display

Storing the search results

You have the ability to store the current search in order to perform another simultaneous search on other criteria.
Then, you can switch from a search to another one in order to compare the results or to perform different actions on the project.
The number of simultaneous searches is limited to 5.
To store the current search, click the lock found in the top right corner of the search window:
Locking

History of searches

The history of previous searches can be displayed at any time, to continue to analyze the results if you have been interrupted or to restart the same search. All you have to do is expand "Find".
You also have the ability to fix a search in order to store it in the favorites and to easily find it thereafter.
History of searches
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment