Is it possible to put a separator line in a cxcombobox? On a TMainMenu component the effect would be achieved by assigning the text property to '-'
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.
Hi Mick,
By default, our combo doesn't support this functionality. You can achieve the desired effect by using its custom drawing capabilities. In particular, handle its Properties.OnDrawItem and Properties.OnMeasureItem events. I've attached a quick sample, illustrating this approach in action. Hopefully, it will be helpful, and adapting it won't be the problem.
Thanks,
Serge
Thanks Serge. Quick, efficient and correct. It would have taken me a month of Sunday's to get that :-)
Mick
Sorted