![]() |
bug of TabControl |
Post Reply ![]() |
Author | |
progame ![]() Newbie ![]() Joined: 15 July 2004 Location: China Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 11 August 2005 at 12:43am |
when tabcontrol host another form as child, the child form can't use up/down arrow key any more, even the left/right arrow key can't use it's very very terrible. |
|
![]() |
|
darren.cho ![]() Newbie ![]() ![]() Joined: 30 April 2005 Location: Canada Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Has this problem been resolved?
I have a similar problem: I embed a form with report control within a tab of tabControl... then the report control exhibits weird behaviours: 1. the report control does not scroll past the selected item. For ex, if row 5 out of 10000 rows are selected, the row does not scroll down anymore when that row 5 reaches the top of the report control's view. 2. the report control causes cpu spikes. When the tab with the form containing report control is chosen, cpu spikes to from ~40% to 90% utilization depending on the number of rows. Any advice where to look? Is this a known problem? Thanks! |
|
![]() |
|
darren.cho ![]() Newbie ![]() ![]() Joined: 30 April 2005 Location: Canada Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
please isregard this question. It turns out to be a bug in my own
software (I linked the filter operation to commandbars update routine,
causing the report to be repopulated for every periodic polling of
commandbar status)
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
We recommend instead using external form with reportcontrol, to put reportcontrol on the same form and use it as child page: wndTabControl.Insert(...,wndReport.hWnd) |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
darren.cho ![]() Newbie ![]() ![]() Joined: 30 April 2005 Location: Canada Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
I noticed that this has been recommended to several other people to. Could you briefly explain the reasoning behind this? My report form within the tabcontrol works fine as implemented as outside child -- after I fixed the bug described above. I wonder if there's any other reason that I should be concerned about enough to move this external child report to the main tab control form. |
|
![]() |
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 |