Removes all items from a group.
Syntax
rv = Send_Message(Ctrl, "OLE.ClearGroup", Group)
Parameters
Parameter | Description |
---|---|
Group | Index to an existing group |
Remarks
The ClearGroup method removes all items from a given group. The Group parameter is an index to an existing group, whose items will be deleted. If the index does not refer to an existing group, then nothing happens. If you only want to delete specific items, then use RemoveItem instead.
Example
// Clear the thirs group's items Send_Message(@Window:".OLE_SHORTCUTBAR", "OLE.ClearGroup", 3)