Ticket S91231
Visible to All Users

Adjust the height of an in-place multi-line editor on the fly when typing into this editor

created 17 years ago

The RichText in-place editor only expands when the user moves to another node. When the user types into the control, the lines scroll out of view. This is difficult to use when the control is only one line deep (as an empty node would start as).
Proposed Solution:
What is needed is an event or option that will allow the column to vertically expand when word-wrap occurs in the RichText editor, so that all of the text is always visible.

Comments (1)
Serge (DevExpress Support) 17 years ago

    Answers approved by DevExpress Support

    created 12 years ago (modified 12 years ago)

    We have implemented the functionality described in this ticket. It will be included in our next update(s).

    Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

    Additional information:

    With VCL 13.1, you can specify the manner in which an in-place multi-line editor is sized when an end-user types in it. To accomplish this, use a tree list's OptionsBehavior.EditAutoHeight property or a column's Options.EditAutoHeight property. The property values include:
     - eahNone. An in-place editor is displayed as a single-line scrollable text field.
     - eahEditor - In-place editor sizing. In the edited cell, an in-place editor is sized vertically to fit the content entered. When an end-user has finished editing, the height of the containing node is automatically changed to fit the new data. You can emphasize the border of the editor displayed in this mode via a tree list's OptionsView.EditAutoHeightBorderColor property.
     - eahRow. Node sizing. The entire node being edited is dynamically sized when wrapping to the next line within an in-place editor. This option is in effect if a tree list's OptionsView.CellAutoHeight property is set to True.
    A tree list's EditAutoHeight property is overridden by a column's Options.EditAutoHeight property.
    Run the ColumnsMultiEditorsDemo shipped with the ExpressQuantumTreeList Suite and type into the Memo Editor to see the new functionality in action.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.