Ticket Q514272
Visible to All Users

RepositoryItemRichTextEdit Vertical Scrollbar always visible

created 12 years ago

Hi,
How
can I get RepositoryItemRichTextEdit Vertical Scrollbar always visible in
LayoutView?
It is
possible when I double click on it, but I want to show for the user the
scrollbar when more data exist
(without entering or clicking on the object).

/Issa

Comments (1)
DevExpress Support Team 12 years ago

    Hi Issa,
    Just wanted to drop you a note to let you know that I need a bit more time to finish working on my answer to your inquiry. Thanks so much for your patience.

    Answers approved by DevExpress Support

    created 12 years ago (modified 11 years ago)

    Please accept my apologies for the delayed response. Let me explain the current behavior in greater detail. When you click a cell, the corresponding in-place editor is activated. In your case, it is the RepositoryItemRichTextEdit editor.
    In other words, until a cell is activated, the editor is not created and its content is drawn by a grid control. So, if you wish to display a scrollbar for a cell, you need to draw it manually. To accomplish this task, handle the LayoutView.CustomDrawCardFieldValue event.
    I also suggest that you refer to the Scroll bar in inactive editor thread where a similar task is described.
    I hope that this information will be good to start. If you need further assistance with this subject, feel free to reactivate this ticket.

      Show previous comments (1)
      DevExpress Support Team 12 years ago

        Hi Issa,
        The LayoutView does not represent its data as cells. It is necessary to use another approach here to get the field repository item and bounds. I have modified your project to illustrate this.

          Thanks!

          DevExpress Support Team 12 years ago

            You are welcome. Please feel free to contact us in case of any difficulty. We are happy to help you at any time.

            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.