<?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 : Dynamic Items</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Dynamic Items]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 04:44:04 +0000</pubDate>
  <lastBuildDate>Wed, 19 May 2010 10:54:27 +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=16723</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[Dynamic Items : I&amp;#039;m trying to make my Task...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16723&amp;PID=58572&amp;title=dynamic-items#58572</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6117">Letters</a><br /><strong>Subject:</strong> 16723<br /><strong>Posted:</strong> 19 May 2010 at 10:54am<br /><br /><DIV><FONT face=Arial size=2><SPAN =458024412-19052010>I'm trying to make my Task Panel items dynamic. We're coding in Visual Dataflex.</SPAN></FONT></DIV><DIV><FONT face=Arial size=2><SPAN =458024412-19052010>We've adapted the code in the demo and the structure of the code is like this:</SPAN></FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face=Arial size=2>Object oReport_Control_Group is a cSigCJTaskPanelGroup<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set psLabel to "Accounts KPIs"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set psImage to "Order.ico"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object oReportControlText_GroupItem is a cSigCJTaskPanelGroupItem<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set psLabel to "Orders"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set psImage to "Order.ico"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Procedure OnClick<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Handle hoClient<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Get Client_Id to hoClient<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Send Activate_SigCjReportControlDemo_Text_View of hoClient<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End_Procedure<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End_Object<BR>End_Object</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT face=Arial><FONT size=2>Making that dynamic is a problem.&nbsp;<SPAN =458024412-19052010>You can't put the inner Object definition in a loop in VDF far as I can see. </SPAN></FONT></FONT><FONT face=Arial size=2>For shortcuts there's an "Add_Item" Procedure which allows me to add items dynamically, there doesn't seem to be an equivalent for Task Bars. The closest I can see is "ComAdd". That does work in that it creates a new item in the group - I've tried doing this in the "Private.Create" of the&nbsp;<SPAN =458024412-19052010>GroupItem</SPAN>. I do then get two items showing so potentially that could be put into a loop but the On_Click of the <SPAN =458024412-19052010>GroupItem </SPAN>is fired for both items and I can't see a way of telling which is which and defining the action for each.</FONT></DIV><DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><DIV><FONT face=Arial size=2>VDF is not well used so I'm not sure if anyone can help but I've run out of ideas so it's worth a try.</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 19 May 2010 10:54:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16723&amp;PID=58572&amp;title=dynamic-items#58572</guid>
  </item> 
 </channel>
</rss>