Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

Extended String Property Editor Version 1 User Guide

Applies to: ~>1.0

This is the user guide for version 1 of the Extended String Property Editor. If you are using version 2 there is a different guide.

This property editor enhances the existing Delphi string property editor. It works will all string and TCaption properties.

At first sight the Object Inspector’s string property editor is unchanged, and in fact it can be used as before. On closer examination you will find an ellipsis button to the right hand side of the property editor’s data entry area. Clicking this button displays a resizeable dialog box in which the property’s value can be entered or modified, like this:

Image of Extended String Property v1

When typing in the edit box, pressing Return starts a new line.

The dialog box’s controls are:

In addition the editor supports the usual cut (Ctrl+X), copy (Ctrl+C), paste (Ctrl+V) and undo (Ctrl+Z) text operations from a context menu.

If any new lines are included in the text entered in the editor they may or may not be displayed in the object inspector, depending on the version of Delphi. If they are displayed it may be as pairs of vertical bars or pairs of empty squares

Both word-wrapping and dialog box size and position are persistent.