Task Panel Remove? |
Post Reply |
Author | |
syndalis
Groupie Joined: 20 October 2005 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 27 October 2005 at 9:07am |
How does one go about removing a task panel group through code? I have figured out how to add groups, but not how to remove them. I figured it would have something to do with the ID of the group, ie: Set Group = TaskPanel.Groups.Add(6, "Basic Functions") any help would be greatly appreciated. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
How about:
wndTaskPanel.Groups(wndTaskPanel.Groups.Find(6).Index).Remov e ....this method goes by index, not ID. So you have to find the Index of the Group you want to delete as I did above. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Or you can do it this way...
Dim tempGroup As TaskPanelGroup Set tempGroup = wndTaskPanel.Groups.Find(6) tempGroup.Remove OR... wndTaskPanel.Groups.Find(6).Remove Edited by SuperMario |
|
syndalis
Groupie Joined: 20 October 2005 Location: United States Status: Offline Points: 19 |
Post Options
Thanks(0)
|
wndTaskPanel.Groups.Find(6).Remove worked like a charm. Thanks!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |