<?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 : ## IMPRESSION ##### DELPHI INTEGRATION FLAWED ####</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : ## IMPRESSION ##### DELPHI INTEGRATION FLAWED ####]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 01:45:41 +0000</pubDate>
  <lastBuildDate>Tue, 28 Jun 2011 14:34:09 +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=18432</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[## IMPRESSION ##### DELPHI INTEGRATION FLAWED #### : Hi Dave,Using Visual Objects I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=65038&amp;title=impression-delphi-integration-flawed#65038</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3743">Carlos Rocha</a><br /><strong>Subject:</strong> 18432<br /><strong>Posted:</strong> 28 June 2011 at 2:34pm<br /><br />Hi Dave,<div><br></div><div>Using Visual Objects I have the same problem (along with some others). I solved the StatusBar events catching with an ActiveX wrapper of the StatusBar object made with VB6.</div><div><br></div><div><a href="uploads/3743/CJHelper.zip" target="_blank">uploads/3743/CJHelper.zip</a></div><div><br></div><div>I hope it can help you</div>]]>
   </description>
   <pubDate>Tue, 28 Jun 2011 14:34:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=65038&amp;title=impression-delphi-integration-flawed#65038</guid>
  </item> 
  <item>
   <title><![CDATA[## IMPRESSION ##### DELPHI INTEGRATION FLAWED #### : Hi Dave, If you could drop a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64962&amp;title=impression-delphi-integration-flawed#64962</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18432<br /><strong>Posted:</strong> 20 June 2011 at 7:47am<br /><br /><P>Hi Dave,</P><DIV>If you could drop a statusbar onto a form it would be same as you showed with CommandBars control, right? If you create instance of CommandBars.StatusBar class and add procedure (this is all guessing for me !!!)</DIV><DIV>&nbsp;</DIV><DIV><DIV>procedure StatusBarPaneClick(Sender: TObject);</DIV><DIV>&nbsp;</DIV></DIV><DIV>(just copied your above code)</DIV><DIV>&nbsp;</DIV><DIV>StatusBar := TCommandBarsFrame.<strong>StatusBar</strong>.Create(OnForm); //<FONT color=#006600>OnForm means an object on the form itself ??? If so create an instance of the CommandBars.StatusBar class (don't know how with Delphi...)<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; with StatusBar do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnPaneClick := MyOwnPaneClickEvent;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end;<BR></DIV><DIV>&nbsp;</DIV><DIV>You have to be really smart working with this language&nbsp;<img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" />&nbsp;Seems it isn't easy to get events from COM objects. I googled a bit:</DIV><DIV>&nbsp;</DIV><DIV><a href="http://www.gtro.com/delphi/com&#101;vents_e.php" target="_blank">http://www.gtro.com/delphi/comevents_e.php</A></DIV><DIV><a href="http://www.techvanguards.com/products/&#101;ventsinkimp/" target="_blank">http://www.techvanguards.com/products/eventsinkimp/</A></DIV><DIV>&nbsp;</DIV><DIV>maybe you understand what they are talking about <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Jun 2011 07:47:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64962&amp;title=impression-delphi-integration-flawed#64962</guid>
  </item> 
  <item>
   <title><![CDATA[## IMPRESSION ##### DELPHI INTEGRATION FLAWED #### : Hi Dave, I&amp;#039;m sorry but I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64959&amp;title=impression-delphi-integration-flawed#64959</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18432<br /><strong>Posted:</strong> 20 June 2011 at 5:26am<br /><br /><P>Hi Dave,</P><P>I'm sorry but I didn't see your reply and I just got back from my holidays <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></P><DIV>&nbsp;</DIV><DIV>With VB I have to declare "StatusBar" like this:</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>Dim <strong>WithEvents</strong></FONT> StatusBar <FONT color=#0000ff>As </FONT>XtremeCommandBars.StatusBar </DIV><DIV>&nbsp;</DIV><DIV>WithEvents allows the events to be raised, like MouseDown and&nbsp;PaneClick etc etc. If I don't declare it like that, the events aren't raised. I don't know if this is possible with Delphi though... If not, suggest you have to search the internet for a solution.</DIV><DIV>&nbsp;</DIV><DIV>Good luck </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Jun 2011 05:26:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64959&amp;title=impression-delphi-integration-flawed#64959</guid>
  </item> 
  <item>
   <title><![CDATA[## IMPRESSION ##### DELPHI INTEGRATION FLAWED #### : Hi Aaron, thanks for the swift...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64574&amp;title=impression-delphi-integration-flawed#64574</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5844">DAVECQ</a><br /><strong>Subject:</strong> 18432<br /><strong>Posted:</strong> 25 May 2011 at 4:43am<br /><br />Hi Aaron,<DIV>thanks for the swift reply, and offer for help.<BR><BR>My problem is this :-<BR><BR>{our delphi snippet}<BR><BR>....&nbsp;<BR>with StatusBar do<BR>&nbsp;&nbsp;&nbsp; begin&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // add the first panel ..<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(0);&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// add the second<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#cc0000>with addpane(ID_SB_CQ_1);&nbsp; ) do begin button := TRUE; end;&nbsp;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // others<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(ID_SB_CQ_2);&nbsp; // date<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(ID_SB_CQ_3);&nbsp; // time<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(ID_SB_CQ_4);&nbsp; // user info<BR>&nbsp;&nbsp;&nbsp; end<BR>...<BR><BR>The problem is trying to "react" to the user click event when Pane&nbsp;id <FONT color=#cc0000>ID_SB_CQ_1</FONT> is "clicked" by the user. As you can see setting the button property on means I want it to act like a button, and visually everything looks great<BR><BR>the problem is when the user clicks the button, I have no way of knowing this has happened!!!<BR><BR>IStatusBarEvents exists and has&nbsp;two events called:- <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; procedure PaneDblClick(const Pane: StatusBarPane); dispid 1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; procedure PaneClick(const Pane: StatusBarPane); dispid 2;<BR><BR>I should be able to declare my <FONT color=#ff00ff>OWN function and add the code below </FONT>to&nbsp;"point" the event to mine, but I cannot do this does for some reason ("the bug/Flaw with Delphi" - as you can see in the VB snippet its easy to do for VB)&nbsp;:-<BR>....&nbsp;<BR>with StatusBar do<BR>&nbsp;&nbsp;&nbsp; begin&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // add the first panel ..<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(0);&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// add the second<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#cc0000>with addpane(ID_SB_CQ_1);&nbsp; ) do begin button := TRUE; <FONT color=#000000><FONT color=#ff00ff>PaneDblClick := MyPaneDblClick;</FONT> </FONT>end;&nbsp;</FONT><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // others<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(ID_SB_CQ_2);&nbsp; // date<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(ID_SB_CQ_3);&nbsp; // time<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addpane(ID_SB_CQ_4);&nbsp; // user info<BR>&nbsp;&nbsp;&nbsp; end<BR><BR><FONT color=#ff00ff>// Override and Catch/react to the user clicking on Pane 2<BR>procedure MYOWNPaneDblClick(const Pane: StatusBarPane);<BR>begin<BR>showmessage('User clicked Status Panel 2');<BR>end;<BR></FONT>...<BR><BR>FYI and Example, with Codejock you can use the above concept for other things, like the Commandbar itself, they work perfectly :-<BR><BR>...<BR>OutlookCmdBar := TCommandBarsFrame.Create(OnForm);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; with OutlookCmdBar do<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Align := alTop; TabOrder := 1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnExecute := MyCommandBarsFrame1Execute;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnResizeClient :=&nbsp;MyCommandBarsFrame1ResizeClient;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; visible := true; EnableOffice2007Frame(false);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end;<BR>...<BR><BR>SO I HOPING <img src="http://forum.codejock.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" />&nbsp;this is possible for the STATUSBAR AND for the message I logged on 15th March 2011 - same issue, different component.<BR><BR>thanks for your Help<BR>Dave <img src="http://forum.codejock.com/smileys/smiley42.gif" height="18" width="45" border="0" alt="Handshake" title="Handshake" /><BR><BR><BR><BR><BR><BR></DIV>]]>
   </description>
   <pubDate>Wed, 25 May 2011 04:43:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64574&amp;title=impression-delphi-integration-flawed#64574</guid>
  </item> 
  <item>
   <title><![CDATA[## IMPRESSION ##### DELPHI INTEGRATION FLAWED #### : Hi Dave, I&amp;#039;m not a Delphi...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64563&amp;title=impression-delphi-integration-flawed#64563</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18432<br /><strong>Posted:</strong> 24 May 2011 at 2:42pm<br /><br /><P>Hi Dave,</P><P>I'm not a Delphi user but I'm always willing to help <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></P><DIV>What is your problem? What doesn't work? </DIV><DIV>Show me what you have sofar...</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 24 May 2011 14:42:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64563&amp;title=impression-delphi-integration-flawed#64563</guid>
  </item> 
  <item>
   <title><![CDATA[## IMPRESSION ##### DELPHI INTEGRATION FLAWED #### : I&amp;#039;m getting the distinct...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64558&amp;title=impression-delphi-integration-flawed#64558</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5844">DAVECQ</a><br /><strong>Subject:</strong> 18432<br /><strong>Posted:</strong> 24 May 2011 at 11:58am<br /><br />I'm getting the distinct impression as good as codejock is .. the integration/support to Delphi users <DIV>could be a lot better/has major flaws in it!!</DIV><DIV><BR>============================================================</DIV><DIV><BR>I posted a item on the 15th March, 2011 - no response ....<BR><BR>{ AND }<BR><BR>I need to post a similar item today regarding the Statusbar - overriding the "PaneClick" event, same issue as 15th March item, albeit different area, but same principle&nbsp;.... see below<BR><BR>==<BR><BR>From CJ helptext (VB again! - no delphi!!)<BR><BR><EM>&#091;PaneClick Sample (Visual Basic)&#093; This sample illustrates how to use the PaneClick event to display a dialog when a specific pane is clicked. This sample assumes there is a form names frmProperties.frm.</EM></DIV><DIV>Private Sub StatusBar_PaneClick(ByVal Pane As XtremeCommandBars.StatusBarPane)<BR>&nbsp;&nbsp;&nbsp; Debug.Print "PaneClick. Id = "; Pane.Id</DIV><DIV>&nbsp;&nbsp;&nbsp; 'Display a properties dialog if the StatusBarPane with ID ID_INDICATOR_ICON was clicked<BR>&nbsp;&nbsp;&nbsp; If (Pane.Id = ID_INDICATOR_ICON) Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmProperties.Show 0, Me<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub <BR><BR>Question to 15th March 2011 ....&nbsp;and the one above: <BR>&nbsp; <EM>HOW DO YOU DO THIS IN DELPHI??????????????</EM><BR><BR>&nbsp;<strong><U> I feel you cannot, and therefore this is a major problem to delphi developers ... but I do&nbsp;hope I'm wrong <img src="http://forum.codejock.com/smileys/smiley9.gif" height="17" width="17" border="0" alt="Embarrassed" title="Embarrassed" />&nbsp;....<BR></U></strong><BR><BR><BR><BR><BR><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 24 May 2011 11:58:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18432&amp;PID=64558&amp;title=impression-delphi-integration-flawed#64558</guid>
  </item> 
 </channel>
</rss>