4D v16.3

Overview

Home

 
4D v16.3
Overview

Overview  


 

 

4D provides several search and replace functions for objects in all of the Design environment.

  • You can search for a string or a type of object (variable, comment, expression, etc.) in part of or in the entire database structure on the basis of custom criteria ("starts with”, “contains”, etc.). You can, for example, search for all the variables containing the string “MyVar”, only in methods whose name begins with "HR_".
  • The results are displayed in a results window, where it is possible to perform replacements in the contents.
  • You can detect variables and methods that are not used in your code and then remove them to free up memory.
  • You can rename a project method or a variable throughout the Design environment in a single operation. 

Note: There are also functions for searching among the methods of your database, which are available in the context menu of the Methods Page in the Explorer: Search Callers and Search Dependencies. Both functions display the items found in a Results window

When you search the Design environment, the following objects are searched by default:

  • Menus (names and items) and commands associated with menu items
  • Choice lists (names and items)
  • Library pictures (names)
  • Help tips (names and content)
  • Names of formats / filters (names and content)
  • Names of tables and fields
  • Names of forms
  • Names of project methods
  • Comments in the Explorer
  • Contents of all methods (triggers, database methods, project methods, object methods)
  • Contents of forms:
    1. object names
    2. names of help tips used by objects
    3. names of pictures used by objects
    4. names of variables used by objects
    5. names of style sheets used by objects
    6. formatting strings
    7. titles of objects
    8. references to fields or tables



See also 

Methods Page

 
PROPERTIES 

Product: 4D
Theme: Searching and replacing in the Design

 
HISTORY 

 
ARTICLE USAGE

4D Design Reference ( 4D v16)
4D Design Reference ( 4D v16.1)
4D Design Reference ( 4D v16.3)