CurTab: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
  CurTab(<window number>)
  CurTab[(<window number[,1]>)]


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

Latest revision as of 18:13, 23 September 2014

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.