Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
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
Reporter ceditmx View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.10
Summary 0003432: TJVTabBar Not focussing on the tab properly
Description 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.


Additional Information
Tags No tags attached.
Attached Files zip file icon [^] (232,228 bytes) 2006-01-09 15:28

- Relationships

-  Notes
AHUser (developer)
2006-01-10 02:02

Fixed in CVS.

The MakeVisible method was missing the left scrolling code.

- Issue History
Date Modified Username Field Change
2006-01-09 15:28 ceditmx New Issue
2006-01-09 15:28 ceditmx File Added:
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
Powered by Mantis Bugtracker