![]() |
Focus problem with Report and Tab Control |
Post Reply
|
| Author | |
robosport
Groupie
Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Topic: Focus problem with Report and Tab ControlPosted: 18 July 2005 at 10:51pm |
|
I opened this as a tech support issue last week but since I haven't received a response there yet and this is a critical problem for me I am posting this here on the forum in the hopes that someone here has experienced this problem. I have a CXTPReportControl member in a CView-derived class, with a couple of columns, one is a label column and the other is an editable text value. This report control works well and editing works fine on it. I also have a CXTPTabControl that works fine with multiple tabs on it. The tab control hosts a form view and a couple other views. Unfortunately when I host the CView-derived class with the CXTPReportControl member, inside one of the tabs of the CXTPTabControl the edit focus on the report control items no longer work properly. Clicking on an editable item does not work. The edit ends as soon as it begins, still on mouse down. Hosting the same CView without the tab control eliminates the problem. Is anyone else having a problem hosting editable CXTPReportControls inside a CXTPTabControl tab? or better yet are there any suggestions for fixing this problem (which I am assuming is a focus issue since the edit ends as quickly as it begins). Thank you. |
|
![]() |
|
robosport
Groupie
Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 July 2005 at 4:00am |
|
Thank you Oleg for sending me the sample with the report control in the tab control. After trying to eliminate any differences the problem seems to be coming from the Tab Control being a member of a CView derived class in my project. When I instantiate the CXTPTabControl directly, instead of instantiating a CView derived class that contains a CXTPTabControl, it the report control editing works just fine.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |