Resource Editor

   English English  Deutsch Deutsch

How to edit a dialog box and its controls

Resource Tuner lets you visually modify a selected dialog and its controls. You can resize, redesign, and reposition the controls inside the dialog or simply change their font properties to suit your needs. Size and position changes to dialog boxes and child controls are automatically reflected in the resource script.

Editing Dialog Box

1. Expand the Dialog folder found in the Resource Tree view, and select the dialog resource item you want to edit.

It is important to note that that programs compiled using Delphi do not commonly have Dialog folders but store this information in the folder named RCData.    See "How to edit Delphi forms"

2. You will see a preview of what the dialog box looks like. To view the decompiled script behind the dialog box in either text or hex format, choose the Script View or Hex View tab.

The dialog box preview

Anything that you see on a dialog box can be moved or resized. Select a control by clicking it in the displayed dialog. Alternatively, the Tab or Shift-Tab keys can be used to select next or prior controls respectively. The selected control will show resizing handles. You can numerically adjust a control position and size in the Object Inspector or drag it with a mouse.

To add a new control, select one of the toolbar buttons with the most commonly used controls and click on the dialog. The top-left corner of the control to be added will default to the point at which the dialog was clicked.

The Object Inspector allows for changing the Style and ExStyle parameters of a selected control:

Changing the Style and ExStyle parameters

You can set/reset the extended style parameters for a dialog box and its control items (e.g. "right-to-left" reading order for Hebrew/Arabic script as well as "right-aligned text").

3. As you rearrange and resize objects, the resource script related to the objects changes accordingly.

Resource script

4. Once you're done editing, select 'File' 'Save File' or the [Ctrl+S] combination to save the modifications to the target file. Any changes made can be reverted before exiting Resource Tuner.

Dialog IDs cannot be edited. These values are hard coded into the target file. Changing them is likely to cause the modified program to crash.


We Offer A Free Trial: Try The Software, Risk Free.

Download Resource Tuner
Resource Tuner runs on all versions of Windows, including 11, 10, 8, 7, and XP, and supports both 32-bit and 64-bit systems.