Bug Report Q458383
Visible to All Users

TcxPageControl - The Properties.TabIndex property returns an incorrect value in the OnChange event handler when changing the current page programmatically

created 12 years ago

I have been getting a lot of Access Violations since I upgraded my devexpress controls recently. I think part of the problem is related to the attached sample.

Add the testunit.pas and testunit.dfm to a project and open the form.

You will be presented with one tab with a button called Open Tabs

Press Open Tabs

Click on Tab 5

Press Ctrl and L to bring you back to the main tab.

All good so far

Click on Tab 4

Press Ctrl and L to bring you back to the main tab.

BUG ! … Main tab doesn't appear to be properly active.

This code worked fine with my previous version of the devexpress controls. Same issue applies for Tab 3,2,1.

Show previous comments (10)

    How do I implement that fix? I've copied the source file into the correct location but what do I need to do next ?

      ignore last comment, I have managed to implement the fix and it seems to have worked. thank you

      DevExpress Support Team 12 years ago

        Hello Colin,
        You are always welcome.

        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.