<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Taskpanel Remove item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Taskpanel Remove item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 11:24:20 +0000</pubDate>
  <lastBuildDate>Wed, 13 Oct 2004 09:31:01 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=1274</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Taskpanel Remove item : Yes you are right, I didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3486&amp;title=taskpanel-remove-item#3486</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 13 October 2004 at 9:31am<br /><br />Yes you are right, I didn't see that you said you were using 9.1.&nbsp;TaskPanelItem is an Interface added in 9.5.&nbsp; I would recommenddownloading the latest version if you can.]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 09:31:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3486&amp;title=taskpanel-remove-item#3486</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : Shouldn&amp;#039;t Private item As...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3478&amp;title=taskpanel-remove-item#3478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=615">Woody</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 13 October 2004 at 8:07am<br /><br />Shouldn't Private item As XtremeSuiteControls.TaskPanelItem be Private item As XtremeSuiteControls.TaskPanelGroupItem ?<br><br>first one isn't recognised, and this may be the problem.<br>]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 08:07:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3478&amp;title=taskpanel-remove-item#3478</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : Ianp&amp;#039;s code does work.   Try...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3475&amp;title=taskpanel-remove-item#3475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 13 October 2004 at 7:15am<br /><br />Ianp's code does work. <br><br>Try changing to this code, it will let you see the item that is being removed:<br>Set item = group.Items.Add(ID_TASK_FIND_COMPANY_ITEM1, "Some Text", xtpTaskItemTypeText)<br><br>This is assuming that you want to remove an item within a group and not an entire group.<br>]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 07:15:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3475&amp;title=taskpanel-remove-item#3475</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : I tried this out and I still get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3473&amp;title=taskpanel-remove-item#3473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=615">Woody</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 13 October 2004 at 6:43am<br /><br />I tried this out and I still get error 'Object doesn't support this property or method'<br>Using version 9.1, could this be a bug?<br><br>]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 06:43:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3473&amp;title=taskpanel-remove-item#3473</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : Hi Woody You can remove an item...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3472&amp;title=taskpanel-remove-item#3472</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 13 October 2004 at 5:44am<br /><br /><P>Hi Woody</P><P>You can remove an item using <EM>Group.Items.Remove(1)</EM> however as it doesn't then return an TaskItem, your code will fail when you try to <EM>Set Item =&nbsp; Group.Items.Remove(1)</EM></P><P>The following code should work if you place it in a form with a taskpanel (wndTaskPanel) and a command button (command1). It will also allow you to specify your ID for the taskitem rather than having to know the Index position...</P><P><table width="99%"><tr><td><pre class="BBcode">Const ID_TASK_FIND_COMPANY_GROUP1 As Long = 640<BR>Const ID_TASK_FIND_COMPANY_ITEM1 As Long = 641<BR>Private group As XtremeSuiteControls.TaskPanelGroup<BR>Private item As XtremeSuiteControls.TaskPanelItem<BR>Private Sub Command1_Click()<BR>&nbsp; Set group = wndTaskPanel.Groups.Find(ID_TASK_FIND_COMPANY_GROUP1)<BR>&nbsp; Debug.Print group.Items.Count<BR>&nbsp; Set item = group.Items.Find(ID_TASK_FIND_COMPANY_ITEM1)<BR>&nbsp; item.Remove<BR>&nbsp; Debug.Print group.Items.Count<BR>End Sub<BR>Private Sub Form_Load()<BR>&nbsp; Set group = wndTaskPanel.Groups.Add(ID_TASK_FIND_COMPANY_GROUP1, "Company Search")<BR>&nbsp; Set item = group.Items.Add(ID_TASK_FIND_COMPANY_ITEM1, "", xtpTaskItemTypeControl)<BR>End Sub</pre></td></tr></table></P><span style="font-size:10px"><br /><br />Edited by ianp</span>]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 05:44:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3472&amp;title=taskpanel-remove-item#3472</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : Thanks for trying, but that didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3471&amp;title=taskpanel-remove-item#3471</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=615">Woody</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 13 October 2004 at 5:27am<br /><br />Thanks for trying, but that didn't work either.<br><br>I thought Remove should work like this:<br><br>Const ID_TASK_FIND_COMPANY_GROUP1 = 640<br><br>Set Group = wndTaskPanel.Groups.Add(ID_TASK_FIND_COMPANY_GROUP1, "Company Search")<br><br>Set Item = Group.Items.Add(ID_TASK_FIND_COMPANY_ITEM1, "", xtpTaskItemTypeControl)<br><br>Then:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Group = wndTaskPanel.Groups.Find(640)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Item = Group.Items.Remove(1)<br><br>What am I doing wrong?<br><br>]]>
   </description>
   <pubDate>Wed, 13 Oct 2004 05:27:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3471&amp;title=taskpanel-remove-item#3471</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : Hi, I may not be the best person...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3467&amp;title=taskpanel-remove-item#3467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=756">gshawn</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 12 October 2004 at 3:31pm<br /><br /><P>Hi,</P><P>I may not be the best person to answer since I've only used the Suite for a couple of hours, but this is one way to remove an item:</P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P><strong>wndTaskPanel.Groups(1).Items(1).Remove</strong></P></BLOCKQUOTE><P dir=ltr>That will remove the first item from the first panel. I hope this helps at least a little.</P>]]>
   </description>
   <pubDate>Tue, 12 Oct 2004 15:31:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3467&amp;title=taskpanel-remove-item#3467</guid>
  </item> 
  <item>
   <title><![CDATA[Taskpanel Remove item : Does anyone have a working example...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3466&amp;title=taskpanel-remove-item#3466</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=615">Woody</a><br /><strong>Subject:</strong> 1274<br /><strong>Posted:</strong> 12 October 2004 at 3:21pm<br /><br />Does anyone have a working example of how to remove aTaskPanelGroupItem using the Remove method? I'm having to useGroup.Items.Clear, and then add them again, but this is causingproblems and I can't find any documentation.]]>
   </description>
   <pubDate>Tue, 12 Oct 2004 15:21:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1274&amp;PID=3466&amp;title=taskpanel-remove-item#3466</guid>
  </item> 
 </channel>
</rss>