CurTab

From BR Wiki
Revision as of 18:13, 23 September 2014 by Laura (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
CurTab[(<window number[,1]>)]

The CurTab internal function (introduced in BR! 4.16) can be used to return the active tabbed window number.

CURTAB with no parameters returns the window number of the last tab clicked within the tabbed group of windows.

The optional parameter must be any open window within the tabbed group.

CURTAB(nn) returns the window number of the last tab clicked within the tab group in which window nn is a member.

CURTAB(nn,1) raises tab nn.