Tech Tip: Editing Component's Methods from a Host Database
PRODUCT: 4D | VERSION: 20 R | PLATFORM: Mac & Win
Published On: July 16, 2025
Starting with 4D v20 R9, component methods can now be directly accessed and edited from the host database — a major improvement for component customization and debugging.
How It Works:
- After adding a component to the host database (as interpreted, not compiled), navigate to any method that calls a component method, or go directly to the component methods section.
- Right-click on the method name and select “Go to definition” (from the method editor) or “Edit” (from the Explorer) in the component methods.
- "Go to definition"
- "Edit"


4D will open the actual method inside the component, allowing it to be viewed and edited directly from the host project.

This feature streamlines component development, making it easier to extend or debug shared logic without needing to open the component project separately.