Items

>>-aTabControl~Items-------------------------------------------><


The Items method retrieves the number of tabs in a tab control.

Return value:

The number of the tabs, or 0 for all other cases.

Example:

The following example displays the number of tabs:

::method DisplayTabNum
  curTab = self~GetTabControl("ID_TAB")
  if curTab \= .Nil then do
    say curTab~Items
  end