in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

Multi-Line Labels

Last post 10/10/2008 10:37 AM by Jérémy VALENTIN. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 9/12/2008 9:42 AM

    Multi-Line Labels

    I'm trying to build a dynamic grid of checkboxes. Each checkbox has a label (read from a database of translations), and the labels may be long. I'd like the label text to wrap, and I'd like the LayoutControlItem to grow large enough vertically to hold the label. I've tried using the Text within the LayoutControlItem, and I've tried using the Text on a CheckBox control, but neither one has given me the correct vertical behaviour. Does anybody have any suggestions?

    Filed under:
  • 10/10/2008 4:44 AM In reply to

    Re: Multi-Line Labels

    Hey Adrian,

    I've the same problem. I've checkBox with large text and the checkBoxEditor seems to not support multi line label.

    So I try to make my own control, but I the labelControl don't support (Or I didn't see how to do this) multi line.

    If anyone have the anser, this could help me.

    Thanks

  • 10/10/2008 10:37 AM In reply to

    Re: Multi-Line Labels

    I change the labelControl to a MemoEdit that allow multi line...

    Try with this properties to have the same features :

    * Properties.BorderStyle = NoBorder

    * Properties.ReadOnly = True,

    * Properties.ScrollBar = None

    You can also suscribe to the Click event to Check/Uncheck the box.

    Jérémy

Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED