Bug Report T332394
Visible to All Users

The "List index out of bounds" exception occurs on opening the design-time editor for a TdxSmartImage type property if the DevExpress GDI+ library is compiled while the DXREGISTERPNGIMAGE conditional directive is not set

created 9 years ago (modified 9 years ago)

After removing the DXREGISTERPNGIMAGE compiler switch and recompiling the IDE packages we get an "Index out of bounds (0)" error when we open the property editor for TdxTileControlItem.Glyph.Image.

How to reproduce:

  1. Comment out {$DEFINE DXREGISTERPNGIMAGE} in the dxGDIPlusClasses unit.
  2. Run the VCL Product Setup in Recompile mode and recreate all IDE packages.
  3. Start Delphi and open a new VCL form project
  4. Add a TdxTileControl to the form and add a small item
  5. Try to add an image in the Glyph property and the error occurs.

Best regards
Tom

BTW: Preventing the registration of DevExpress graphic classes is described in ticket S34199.

Comments (2)
DevExpress Support Team 9 years ago

    Hello Tom,

    I have reproduced the described behavior and forwarded this ticket to our developers for research.

      Thank you for your fast respond and the fix of the issue. I can wait for the 2.3 release.

      Answers approved by DevExpress Support

      created 9 years ago

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        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.