KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Renaming Classes
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: September 26, 2025
When creating a class, it is important to put some consideration into its name before using it extensively. If a class needs to be renamed, this can be done either by slow double-clicking (click the item once, then click it again after a longer pause than a typical double-click) the class in the 4D Explorer window, or by modifying the file name of the class.

A potential problem when renaming a class is that not all references to the class may be updated to reflect the new name. In this case, each usage could be searched using the Find in Design feature. It might be easy to replace them using Find in Design’s replace function, or it could be more complicated if other items share the same name.

As such, rather than dealing with the challenge of updating all references to a renamed class, it’s best to put careful thought into a class’s name before using it extensively in a database.