Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.94 KB

UserGuide.md

File metadata and controls

27 lines (16 loc) · 1.94 KB

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:

  • Word Wrap check box: This check box toggles word wrap on and off. When word wrap is off you will need to scroll to the right to see long lines.
  • Load button (Alt+L): Allows text from a file to be loaded into the editor. This overwrites any existing content. A standard Open File dialog box is used to select the file.
  • Save button (Alt+S): Saves the text entered in the editor to file. A standard Save File dialog box is used to specify the file name.
  • OK button (Ctrl+Return): Closes the dialog box and updates the property.
  • Cancel button (Esc): Closes the dialog box without updating the property.

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.