Welcome to the Xceed Community Sign in | Join | Help
Community Search  

How to de-indent last SmartItem?

Sort Posts: Previous Next
  •  08-26-2008, 5:29 AM Post no. 14491

    How to de-indent last SmartItem?

    Hi,

    I have a properties control that uses SmartUI for VB6. The problem is, if the last SmartItem inserted into the SmartUI control has an Indent > 0, I get a vertical guideline all the way down to the bottom of the control.

    Like this (warning: ASCII art):

    +---------------------+------------------------+
    | My Prop | My Value |
    +--+------------------+------------------------+
    | | My Indented Prop | My Indented Prop Value |
    | +------------------+------------------------+
    | | |
    | | |
    | | |
    | |<- How do I get rid of this? |
    | | |
    +--+-------------------------------------------+

    Is there any way (workaround?) to disable that line and get something like this

    +---------------------+------------------------+
    | My Prop | My Value |
    +--+------------------+------------------------+
    | | My Indented Prop | My Indented Prop Value |
    | +------------------+------------------------+
    | |
    | |
    | |
    | |
    | |
    +----------------------------------------------+

    instead?

    Many thanks in advance,

    Miguel

  •  08-27-2008, 3:01 PM Post no. 14580 in reply to 14491

    Re: How to de-indent last SmartItem?

    There is no property you can use to change this.

    However, you can add a ListItemDefault at the end, set its Visible property to false, and the line will not be painted.


    André
    Software Developer and Tech Support
    Xceed Software Inc.
  •  08-29-2008, 5:01 AM Post no. 14647 in reply to 14580

    Re: How to de-indent last SmartItem?

    Many Thanks - that did it! ;)
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.