CurTab: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "CurTab(x) The '''CurTab''' internal function (introduced in BR! 4.16) can be used to return the active tabbed window number. The required parameter X needs to be...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
CurTab(x)
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.


The required parameter X 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>

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.