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 2 User Guide

Applies to: ~>2.0

This is the user guide for version 2 of the Extended String Property Editor. If you are still using version 1 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 dialogue 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 dialogue box has a tool-bar above the edit box and other controls below. The tool buttons are, from left to right:

In addition to the above commands, the edit box supports the usual cut (Ctrl+X), copy (Ctrl+C) and paste (Ctrl+V) text operations from its context menu.

The controls below the edit box are:

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 dialogue box size and position are persistent.