LCL: Comment for TCustomTabControl.TabIndexAtClientPos

git-svn-id: trunk@34792 -
This commit is contained in:
juha 2012-01-19 11:39:09 +00:00
parent 42006c76d8
commit 51d7e72516

View File

@ -312,6 +312,8 @@ var
begin
if HandleAllocated then begin
Result:=TWSCustomTabControlClass(WidgetSetClass).GetTabIndexAtPos(Self, ClientPos);
// Result is the index in visible tabs because invisible tabs are removed
// from the native control. Calculate the real tab index here.
VisiblePageInd:=-1;
for i:=0 to PageCount-1 do begin
if Page[i].TabVisible then