Page History
...
The IndexToHandle method maps the index of a given tab to its corresponding handle. Most properties use indexes, but the AddTab and RemoveTab methods work with handles. The reverse method, HandleToIndex, can be used to get back a tab's index.
...
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) |