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.
Hello,
Thank you for your detailed clarification. I have reproduced the described behavior and forwarded this ticket to our developers for research.
Thank you. this is fairly urgent for me as I believe this is one of the causes of the many access violations I've been getting since updating to the latest controls.
Is there any update on this? Its causing us no end of problems. Not sure why the OnChange event is getting fired when setting a pagecontrol ( that doesn't have focus ) invisible.
I could do with a quick resolution as we are getting Access Violations everywhere in our app because of this.
Hello,
Thank you for your reply. Our developers are examining the issue. However, we cannot give you any time frame at present, because our estimations may be misleading.
Meanwhile, I suggest you temporarily get back to the previous version of our controls that used to work as expected with your application. In addition, would you please clarify what version it was? I believe that it will help our developers find the problematic code faster.
I have this problem under the latest version of the controls ( version that was released yesterday ). The issue only occurs when using SetActivePage. If you use the mouse to the select the page there is no problem. I cannot use the older version of the controls as we were experiencing all kinds of resizing issues with the grids and windows 7 so I'm in a catch 22 situation
Thank you for your reply. It is not clear from your comment in what version of our controls your application used to work as expected and the behavior you described in this ticket was different. Would you please specify the version?
The previous version we were using was 5.12. The developers should concentrate on the difference between using the mouse to select a tab and coding a SetActivePage.
I apologize, as I can't seem to find the 5.12 version in our version list. Please confirm that this is the exact version shown in the TcxPageControl component's context menu (you can right-click the component on a form to invoke this menu). Thank you for your time.
Hi Paulo,
I see that this is fixed in v2012 version 2.4, do you have any idea of when this will be released?
Hello,
The fix is published. You are welcome to download and test it on your side. Hope, it will help.
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
Hello Colin,
You are always welcome.