<?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 : For Each Control... vb net error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : For Each Control... vb net error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 11:29:56 +0000</pubDate>
  <lastBuildDate>Sun, 15 Jun 2008 08:19:02 +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=11026</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[For Each Control... vb net error : :) ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36750&amp;title=for-each-control-vb-net-error#36750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 15 June 2008 at 8:19am<br /><br />:)]]>
   </description>
   <pubDate>Sun, 15 Jun 2008 08:19:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36750&amp;title=for-each-control-vb-net-error#36750</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Thanks... thanks.... thanks. Now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36738&amp;title=for-each-control-vb-net-error#36738</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2773">sasa</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 14 June 2008 at 5:44am<br /><br />Thanks... thanks.... thanks.<br />Now it work nice. Thank you very much Oleg<br /><br />Have a nice day]]>
   </description>
   <pubDate>Sat, 14 Jun 2008 05:44:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36738&amp;title=for-each-control-vb-net-error#36738</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Hi, Actions have to be enabled...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36731&amp;title=for-each-control-vb-net-error#36731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 14 June 2008 at 5:16am<br /><br /><P>Hi,</P><DIV>Actions have to be enabled in MainLayout.xcb. Open it in designer, select some controls and in propertyPages click "Enable Actions"</DIV>]]>
   </description>
   <pubDate>Sat, 14 Jun 2008 05:16:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36731&amp;title=for-each-control-vb-net-error#36731</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Hi Oleg, I enabled actions in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36729&amp;title=for-each-control-vb-net-error#36729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2773">sasa</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 14 June 2008 at 1:42am<br /><br />Hi Oleg,<br />I enabled actions in commandbar but it don't show me what i ask. New source code is:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ctrl As Control<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each ctrl In Me.Controls<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If TypeOf ctrl Is MdiClient Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  cmdBarMain.SetMDIClient(ctrl.Handle.ToInt32())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next ctrl<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With cmdBarMain<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.LoadDesignerBars(PercorsoApp & "\MainLayout.xcb", Nothing)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.EnableActions()<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmdBarMain(2).ModifyStyle(XtremeCommandBars.XTPCommandBarStyle.XTP_CBRS_GRIPPER, 0)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ActiveMenuBar.Delete()<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.AlwaysShowFullMenus = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.IconsWithShadow = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.LargeIcons = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.ShowExpandButtonAlways = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.ToolBarAccelTips = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.ToolBarScreenTips = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.UseDisabledIcons = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.SyncFloatingToolbars = True<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ToolTipContext.ShowTitleAndDescription(True, XtremeCommandBars.XTPToolTipIcon.xtpToolTipIconInfo)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ToolTipContext.Style = XtremeCommandBars.XTPToolTipStyle.xtpToolTipBalloon<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ToolTipContext.MaxTipWidth = 200<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.EnableCustomization(False)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmdBarMain.Actions.Add(ID_ANAGR, "CaptionAction", "tooltip action", "descr action", Nothing)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmdBarMain.Actions(ID_ANAGR).Caption = "NewCaption"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim test As String = cmdBarMain.Actions.Action(ID_ANAGR).Caption<br /><br />in such way, it change Caption property but new caption is not showed when I run program.<br /><br />Where I'm wrong ??]]>
   </description>
   <pubDate>Sat, 14 Jun 2008 01:42:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36729&amp;title=for-each-control-vb-net-error#36729</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Hi, Maybe ID_ANAGR actioin not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36710&amp;title=for-each-control-vb-net-error#36710</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 13 June 2008 at 4:07pm<br /><br />Hi,<DIV>Maybe ID_ANAGR actioin not found. Are you sure in MainLayout.xcb actions are enabled ?</DIV>]]>
   </description>
   <pubDate>Fri, 13 Jun 2008 16:07:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36710&amp;title=for-each-control-vb-net-error#36710</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Hello Oleg, I receive an error...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36691&amp;title=for-each-control-vb-net-error#36691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2773">sasa</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 13 June 2008 at 1:03pm<br /><br />Hello Oleg,<br />I receive an error NullReferenceException if I try to use method Actions.<br />Above there is source code:<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ctrl As Control<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each ctrl In Me.Controls<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If TypeOf ctrl Is MdiClient Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  cmdBarMain.SetMDIClient(ctrl.Handle.ToInt32())<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next ctrl<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With cmdBarMain<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.LoadDesignerBars(PercorsoApp & "\MainLayout.xcb", Nothing)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmdBarMain(2).ModifyStyle(XtremeCommandBars.XTPCommandBarStyle.XTP_CBRS_GRIPPER, 0)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ActiveMenuBar.Delete()<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.AlwaysShowFullMenus = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.IconsWithShadow = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.LargeIcons = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.ShowExpandButtonAlways = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.ToolBarAccelTips = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.ToolBarScreenTips = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.UseDisabledIcons = True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.Options.SyncFloatingToolbars = True<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ToolTipContext.ShowTitleAndDescription(True, XtremeCommandBars.XTPToolTipIcon.xtpToolTipIconInfo)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ToolTipContext.Style = XtremeCommandBars.XTPToolTipStyle.xtpToolTipBalloon<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.ToolTipContext.MaxTipWidth = 200<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.AddPane(0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.AddPane(1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.AddPane(2)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Font.Name = "Tahoma"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Font.Size = 10<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(0).Width = 180<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(0).Style = XtremeCommandBars.XTPStatusPaneStyle.SBPS_NOBORDERS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(1).Width = 40<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(1).Style = XtremeCommandBars.XTPStatusPaneStyle.SBPS_NOBORDERS<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(2).Width = 0&nbsp;&nbsp;&nbsp;' 0 = Autro Size<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(2).Style = XtremeCommandBars.XTPStatusPaneStyle.SBPS_STRETCH + XtremeCommandBars.XTPStatusPaneStyle.SBPS_NOBORDERS<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(0).Text = "Ready to use"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(1).Text = ""<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Pane(2).Text = ""<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.StatusBar.Visible = True<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.EnableCustomization(False)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmdBarMain.Actions(ID_ANAGR).Caption = "Something"<br /><br />How can I avoid problem ??<br /><br />Thanks a lot]]>
   </description>
   <pubDate>Fri, 13 Jun 2008 13:03:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36691&amp;title=for-each-control-vb-net-error#36691</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Hello,  Use Actions to change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36685&amp;title=for-each-control-vb-net-error#36685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 13 June 2008 at 12:12pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Use Actions to change Captions/Description easy.</DIV><DIV>&nbsp;</DIV><DIV>Add CommandBars.EnableActions before you add any control and</DIV><DIV>&nbsp;</DIV><DIV>CommandBars.Actions(Id).Caption = "New Caption" to change all buttons with id = "Id".</DIV><DIV>&nbsp;</DIV><DIV>See Actions sample.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Jun 2008 12:12:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36685&amp;title=for-each-control-vb-net-error#36685</guid>
  </item> 
  <item>
   <title><![CDATA[For Each Control... vb net error : Hi, I don&amp;#039;t understand where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36681&amp;title=for-each-control-vb-net-error#36681</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2773">sasa</a><br /><strong>Subject:</strong> 11026<br /><strong>Posted:</strong> 13 June 2008 at 11:18am<br /><br />Hi,<br />I don't understand where I make mistakes but a simple<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Dim Ctrl As XtremeCommandBars.CommandBarControl<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;For Each Ctrl In TBar.DesignerControls<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TBar.FindControl(Ctrl.Id).Caption = "Caption"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TBar.FindControl(Ctrl.Id).TooltipText = "TTips"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TBar.FindControl(Ctrl.Id).DescriptionText = "aa"<br />&nbsp;&nbsp;&nbsp;&nbsp;Next<br /><br />return me an error in vb.net when Ctrl is an xtpControlButton.<br /><br />The same source code work nice in vb6.<br /><br />If I try to write...<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Dim Ctrl As XtremeCommandBars.CommandBarControl<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;For Each Ctrl In TBar.DesignerControls<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ctrl.Caption = "Caption"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ctrl.TooltipText = "TTips"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ctrl.DescriptionText = "aa"<br />&nbsp;&nbsp;&nbsp;&nbsp;Next<br /><br />... I have no errors but commandbar don't show new caption and tips value.<br />Where i make mistakes ??<br /><br />Thanks to all]]>
   </description>
   <pubDate>Fri, 13 Jun 2008 11:18:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11026&amp;PID=36681&amp;title=for-each-control-vb-net-error#36681</guid>
  </item> 
 </channel>
</rss>