|Anonymous | Login | Signup for a new account||2018-12-11 20:34 CET|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003432||[JEDI VCL] 00 JVCL Components||minor||always||2006-01-09 15:28||2006-01-10 02:02|
|Summary||0003432: TJVTabBar Not focussing on the tab properly|
I have a simple MDI setup utilizing the JVTabBar as a document tab listing. Each of the document forms have a JVTabBarItem component. When the document is created it is added to the main tabbar. This works alright with no problems. The problem I am having is when the document gains focus the idea is to make the appropriate tab active. So in the FormActivate event I have
fTab.Selected := True;
That did select the tab but doesn't bring it into focus. So if there's enough tabs to exceed the length of the tab bar and the one your clicking on isn't visible it doesn't automaticly scroll to the proper place.
Oddly enough this only happens if your going to a lower tab. Ie say you are on tab 30 and you go to tab 0 it won't scroll so tab 0 is visible. But if your on tab 0 and select the document associated with tab 30 it will scroll so tab 30 is visible.
There is some scrolling but only about 1-2 tabs. So say I'm on tab 30 and the first visible tab is 24 and I click select the document associated with tab 0 then tab 22 would become visible. But tab 0 would not. I've looked at the source code and played around a little bit but havn't had any luck yet.
Perhaps this is just a problem on my machine. I've created a small demo application showing it which is attached.
|Tags||No tags attached.|
|Attached Files||demo.zip [^] (232,228 bytes) 2006-01-09 15:28|
Fixed in CVS.
The MakeVisible method was missing the left scrolling code.
|2006-01-09 15:28||ceditmx||New Issue|
|2006-01-09 15:28||ceditmx||File Added: demo.zip|
|2006-01-09 15:29||ceditmx||Issue Monitored: ceditmx|
|2006-01-10 02:02||AHUser||Status||new => resolved|
|2006-01-10 02:02||AHUser||Resolution||open => fixed|
|2006-01-10 02:02||AHUser||Assigned To||=> AHUser|
|2006-01-10 02:02||AHUser||Note Added: 0008358|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|