CurTab

From Br Wiki
Jump to: navigation, 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.