It would be nice if any control (like tcxButton) that has a Glyph properity could use an image list
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.
We have reverted the duplication of this suggestion and Suggestion ID: DS46379, TcxEditButton - Add support for image lists (TcxImageList/TImageList/TCustomImageList). With Suggestion ID: DS46379, we have added image list support to TcxEditButton only. With the current suggestion, we are going to add image list support to TcxButton (as the subject implies). If you believe we need to add image list support to controls other than TcxButton and TcxEditButton, please share your thoughts in the peer-to-peer discussion thread below.
Thanks,
Alex
Implementation details will follow shortly.
All the button's image settings have been moved to the persistent TcxButtonImageOptions, accessed via the button's OptionsImage property.
Obsolete settings are retained for backward compatibility purposes, but they are not available in the Object Inspector.
Button icons can be specified in one of the following ways:
- The button’s Action.Images and Action.ImageIndex properties.
- The button’s OptionsImage.Glyph property.
- The button’s OptionsImage.Images (Action.Images) and OptionsImage.ImageIndex properties.
The following override rules are applied to image settings:
- The button’s OptionsImage.Glyph property overrides the Action.ImageIndex and OptionsImage.ImageIndex properties.
- The button’s Action.ImageIndex property overrides the OptionsImage.ImageIndex property.
See Also:
TcxEditButton - Add support for image lists (TcxImageList/TImageList/TCustomImageList)
cxLabel - Add support for image lists (TcxImageList/TImageList/TCustomImageList)