Function Reference

_FFTabClose

Closes one or all existing tabs.

#Include <FF.au3>
_FFTabClose([$vTab = -1[, $sMode = "index"]])

 

Parameters

$vTab Optional: Index (0-n) or label (RegExp) of the tab to close.
-1 = (Default) Closes the current tab.
Keywords:
all= All tabs except the current.
selected= Current tab.
prev= Previous tab.
next= Next tab.
first= First tab.
last= Last tab.
$sMode
Optional:
index= (Default) Index (0-n) of the tab.
label= Label of the tab.
key= One of the keywords.

 

Return Value

Success: Returns 1
Failure: Returns 0 and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
4 ($_FF_ERROR_InvalidValue)
8 ($_FF_ERROR_NoMatch)

 

Remarks

 

Related

_FFTabAdd, _FFTabDuplicate, _FFTabCloseAll, _FFTabExists, _FFTabSetSelected, _FFTabGetSelected

 

Example