Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The RemoveTab method removes a given tab from the control. This method does not accept a tag index. You must pass a tab handle instead. If you know only the index of the tab, you can call IndexToHandle first. If the tab was found and removed, then this method returns '1'.

...

Code Block
// Get the handle to the second tab so we can remove it
TabHandle = Send_Message(@Window:".OLE_TAB", "OLE.IndexToHandle", 2)
Send_Message(@Window:".OLE_TAB", "OLE.RemoveTab", TabHandle)

See Also

AddTabIndexToHandleHandleToIndex