in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Drawing the Delimeter

Last post 04-28-2008 6:59 PM by C1_GregL. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-24-2008 12:07 PM

    Drawing the Delimeter

    I'm currently using an owner-drawn C1Toolbar in my application which makes use of the DrawLink event to custom draw the C1CommandLinks. However, I currently do not have the ability to draw the delimeters. Therefore, gaps appear in my custom toolbar as seen in the attached screenshot.

    How can I get the delimeters to appear (or how can I custom draw my delimeters)  ???

    Thanks for the help !!

  • 04-28-2008 6:59 PM In reply to

    • C1_GregL
    • Top 10 Contributor
    • Joined on 06-11-2007
    • Pittsburgh PA
    • Posts 431

    Re: Drawing the Delimeter

    Hi,

    If you want the entire toolbar to have the same gradient you can apply your gradient code within the DrawBar event and not DrawLink.  This paints everything including the delimiter gaps.  You can use DrawLink and DrawBar together as well, say if you wanted a different gradient for the delimiter gaps. 

    Greg

    Filed under: ,
Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.