CurTab: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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.


The required parameter  needs to be any open window within the tabbed group.
CURTAB with no parameters returns the window number of the last tab
clicked within the tabbed group of windows.


CurTab will return the clicked window number 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.


<noinclude>
<noinclude>
[[Category:Internal Functions]]
[[Category:Internal Functions]]
</noinclude>
</noinclude>

Revision as of 18:13, 23 September 2014

CurTab(<window number>)

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.