mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
LCL: Comment for TCustomTabControl.TabIndexAtClientPos
git-svn-id: trunk@34792 -
This commit is contained in:
parent
42006c76d8
commit
51d7e72516
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user