<?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 : DblClick on Commandbar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : DblClick on Commandbar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 18:08:54 +0000</pubDate>
  <lastBuildDate>Fri, 06 May 2011 16:06:39 +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=18310</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[DblClick on Commandbar : JPBro, you nailed it. :-) The...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64243&amp;title=dblclick-on-commandbar#64243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1401">jpcoffeyXXX</a><br /><strong>Subject:</strong> 18310<br /><strong>Posted:</strong> 06 May 2011 at 4:06pm<br /><br />JPBro, you nailed it.&nbsp; :-)&nbsp; The extra effort for retrieving the user's double-click interval as opposed to assuming it is 500 ms is worthy of extra kudos.&nbsp; This was the most logical solution.&nbsp; I will put my code here for anyone who cares to use this functionality.&nbsp; Excuse the formatting as it got out of hand.<br><br>Cheers,<br><br>John<br><br><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span><!--if gte mso 9> <o:OfficeSettings>  <o:AllowPNG/> </o:OfficeSettings><!--><!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:TrackMoves/>  <w:Trackatting/>  <w:Punctuati&#111;nKerning/>  <w:ValidateAgainstSchemas/>  <w:SaveIfInvalid>false</w:SaveIfInvalid>  <w:IgnoreMixed>false</w:IgnoreMixed>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:D&#111;notPromoteQF/>  <w:LidThemeOther>EN-US</w:LidThemeOther>  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>  <w:LidThemeComplex>X-NONE</w:LidThemeComplex>  <w:Compatibility>   <w:BreakWrappedTables/>   <w:SnapToGridInCell/>   <w:WrapTextWithPunct/>   <w:UseAsianBreakRules/>   <w:D&#111;ntGrowAutofit/>   <w:SplitPgBreakAndark/>   <w:EnableKerning/>   <w:D&#111;ntFlipMirrorIndents/>   <w:OverrideTableStyleHps/>  </w:Compatibility>  <m:mathPr>   <m:mathFont m:val="Cambria Math"/>   <m:brkBin m:val="before"/>   <m:brkBinSub m:val="&amp;#45;-"/>   <m:smallFrac m:val="off"/>   <m:dispDef/>   <m:lMargin m:val="0"/>   <m:rMargin m:val="0"/>   <m:defJc m:val="centerGroup"/>   <m:wrapIndent m:val="1440"/>   <m:intLim m:val="subSup"/>   <m:naryLim m:val="undOvr"/>  </m:mathPr></w:Word><!--><!--if gte mso 9> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"    DefSemi="true" DefQat="false" DefPriority="99"    LatentStyleCount="267">  <w:LsdExcepti&#111;n Locked="false" Priority="0" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Normal"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="ing 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="35" Qat="true" Name="capti&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="10" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Name="Default Paragraph Font"/>  <w:LsdExcepti&#111;n Locked="false" Priority="11" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtitle"/>  <w:LsdExcepti&#111;n Locked="false" Priority="22" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Str&#111;ng"/>  <w:LsdExcepti&#111;n Locked="false" Priority="20" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="59" Semi="false"     UnhideWhenUsed="false" Name="Table Grid"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="No Spacing"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Revisi&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="34" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="List Paragraph"/>  <w:LsdExcepti&#111;n Locked="false" Priority="29" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="30" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="19" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="21" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="31" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="32" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="33" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Book Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="37" Name="Bibliography"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Qat="true" Name="TOC ing"/> </w:LatentStyles><!--><!--if gte mso 10> /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin-top:0in;	mso-para-margin-right:0in;	mso-para-margin-bottom:10.0pt;	mso-para-margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}<!--><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;"> <br>Private Sub cbrsEditor_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)<br><br>Select Case Control.ID<br>Case </span><font size="1"><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black">ID_CURSOR_FORMAT_PAINTER</span></font><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Dim</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> lngDoubleClickTime </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Long</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">, lngTickCount </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Long</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">, lngParm </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Long</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">lngDoubleClickTime = GetDoubleClickTime</span><span style="font-size:10.0pt;font-family:  &quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">lngTickCount = GetTickCount</span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> Len(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">.Parameter) = 0 </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> lngParm = 0 </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Else</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> lngParm = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">CLng</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">.Parameter)</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> (lngTickCount - lngParm) &lt;=lngDoubleClickTime </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;  color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;  color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>bChecked = </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">True</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">.Checked = bChecked</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>m_blnMultiFormatPaint = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">True</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Else</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>bChecked = </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Not</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">.Checked</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">.Checked = bChecked</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>m_blnMultiFormatPaint = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">False</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red">&nbsp;</span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> bChecked </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> m_blnMultiFormatPaint = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">False</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom: 0.0001pt; line-height: normal;"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">'Do work here.&nbsp; This may be time consuming in some cases, so I placed the GetTickCount at the very end to give people plenty of time for their second click.&nbsp; Also we need to keep in mind that if we are simulating a double-click, the first click will fire this process.&nbsp; We don't want the second click to fire it as well, therefore we test the m_blnMultiFormatPaint variable.</span></font></p><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes"></span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> Me.MouseIcon = IconColl.Icons.GetImage(ID_CURSOR_FORMAT_PAINTER,32).CreatePicture(xtpImageNormal)</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Me.MousePointer = vbCustom</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:green">'Give users with slow reflexes plenty oftime for their second click</span><span style="font-size:10.0pt;font-family:  &quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">.Parameter = GetTickCount</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Else</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Control</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">.Parameter = 0</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:green">'A breakpoint placed here should catchevery dblclick event</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;  color:black">.&nbsp; I zero out the parm because a double-click is relative.</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;  color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Else</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:green">'Turn off multi-paste</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>m_blnMultiFormatPaint = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">False</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:green">'Reset the mousepointer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span>Me.MousePointer = vbDefault</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> Me.MouseIcon = Nothing</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><font size="1"><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal"><font size="1">&nbsp;End Select</font></p><p ="Ms&#111;normal"><font size="1"><br></font></p><!--if gte mso 9> <o:OfficeSettings>  <o:AllowPNG/> </o:OfficeSettings><!--><!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:TrackMoves/>  <w:Trackatting/>  <w:Punctuati&#111;nKerning/>  <w:ValidateAgainstSchemas/>  <w:SaveIfInvalid>false</w:SaveIfInvalid>  <w:IgnoreMixed>false</w:IgnoreMixed>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:D&#111;notPromoteQF/>  <w:LidThemeOther>EN-US</w:LidThemeOther>  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>  <w:LidThemeComplex>X-NONE</w:LidThemeComplex>  <w:Compatibility>   <w:BreakWrappedTables/>   <w:SnapToGridInCell/>   <w:WrapTextWithPunct/>   <w:UseAsianBreakRules/>   <w:D&#111;ntGrowAutofit/>   <w:SplitPgBreakAndark/>   <w:EnableKerning/>   <w:D&#111;ntFlipMirrorIndents/>   <w:OverrideTableStyleHps/>  </w:Compatibility>  <m:mathPr>   <m:mathFont m:val="Cambria Math"/>   <m:brkBin m:val="before"/>   <m:brkBinSub m:val="&amp;#45;-"/>   <m:smallFrac m:val="off"/>   <m:dispDef/>   <m:lMargin m:val="0"/>   <m:rMargin m:val="0"/>   <m:defJc m:val="centerGroup"/>   <m:wrapIndent m:val="1440"/>   <m:intLim m:val="subSup"/>   <m:naryLim m:val="undOvr"/>  </m:mathPr></w:Word><!--><!--if gte mso 9> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"    DefSemi="true" DefQat="false" DefPriority="99"    LatentStyleCount="267">  <w:LsdExcepti&#111;n Locked="false" Priority="0" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Normal"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="ing 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="35" Qat="true" Name="capti&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="10" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Name="Default Paragraph Font"/>  <w:LsdExcepti&#111;n Locked="false" Priority="11" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtitle"/>  <w:LsdExcepti&#111;n Locked="false" Priority="22" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Str&#111;ng"/>  <w:LsdExcepti&#111;n Locked="false" Priority="20" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="59" Semi="false"     UnhideWhenUsed="false" Name="Table Grid"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="No Spacing"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Revisi&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="34" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="List Paragraph"/>  <w:LsdExcepti&#111;n Locked="false" Priority="29" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="30" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="19" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="21" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="31" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="32" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="33" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Book Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="37" Name="Bibliography"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Qat="true" Name="TOC ing"/> </w:LatentStyles><!--><!--if gte mso 10> /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin-top:0in;	mso-para-margin-right:0in;	mso-para-margin-bottom:10.0pt;	mso-para-margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}<!--><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Private</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Sub</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> txBody_MouseUp(Button</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Integer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">, Shift </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Integer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">, x </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Single</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">, y </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Single</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">)</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Dim</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> cTX </span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> cTextControl, tx </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> TXTextControl,ctrl </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">As</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">CommandBarControl</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;  color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red">&nbsp;</span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> tx = txBody</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> Button = vbLeftButton </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> tx.SelLength &gt; 0 </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">Not</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> m_ObjectWithFormatting </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Is</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> Nothing </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FormatPainter</span>Apply TXTextControl, m_</span></font><font size="1"><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black">ObjectWithFormatting </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> m_blnMultiFormatPaint = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">False</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:green">'If apply once then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> . . .</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:green">'Reset the mousepointer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Me.MousePointer = vbDefault '</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:green"> tell vb to usethis</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> Me.MouseIcon = Nothing</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:green">'Uncheck the control</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> ctrl = CommandBars.FindControl(xtpControlError, ID_EDIT_FORMAT_PAINTER, , </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">True</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black">)</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Not</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> ctrl </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Is</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> Nothing </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">Then</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black"> ctrl.Checked = </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue">False</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> ctrl = Nothing</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:green">'Clear the formatting</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">Set</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> m_</span></font><font size="1"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"></span></font><font size="1"><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black">ObjectWithFormatting </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:blue"></span></font><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black">= Nothing</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp; </span></span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:10.0pt;  font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:  normal;mso-layout-grid-align:n&#111;ne;text-autospace:n&#111;ne"><font size="1"><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">End</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:black"> </span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:blue">If</span><span style="font-size:  10.0pt;font-family:&quot;Courier New&quot;;color:red"></span></font></p><font size="1"></font><p ="Ms&#111;normal"><font size="1"><span style="font-size:10.0pt;line-height:115%;font-family:  &quot;Courier New&quot;;color:black"><span style="mso-spacerun:yes">End Sub<br></span></span></font></p><font size="1"></font><p ="Ms&#111;normal"><font size="1"><br></font></p><br><br>]]>
   </description>
   <pubDate>Fri, 06 May 2011 16:06:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64243&amp;title=dblclick-on-commandbar#64243</guid>
  </item> 
  <item>
   <title><![CDATA[DblClick on Commandbar :  Haven&amp;#039;t tested it too thoroughly,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64189&amp;title=dblclick-on-commandbar#64189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18310<br /><strong>Posted:</strong> 04 May 2011 at 9:27am<br /><br />Haven't tested it too thoroughly, but this seems to work:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Option Explicit<br><br>Private Declare Function GetDoubleClickTime Lib "user32.dll" () As Long<br>Private Declare Function GetTickCount Lib "kernel32.dll" () As Long<br><br>Private mo_FormatBrush As CommandBarControl<br><br>Private m_LockFormatBrush As Boolean<br><br>Private Sub CommandBars1_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)<br>&nbsp;&nbsp; Dim l_Tick As Long<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; Select Case Control.Id<br>&nbsp;&nbsp; Case 100<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Cls<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Error Resume Next<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l_Tick = Control.Parameter<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Error GoTo 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If GetTickCount - l_Tick &lt;= GetDoubleClickTime Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Checked = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_LockFormatBrush = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_LockFormatBrush = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Checked = Not Control.Checked<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Parameter = GetTickCount<br>&nbsp;&nbsp; End Select<br>End Sub<br><br>Private Sub ApplyFormatBrushIfActive()<br>&nbsp;&nbsp; Me.Cls<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; If mo_FormatBrush.Checked Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Do your formatting here<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Print<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Print<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Print<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Print "Apply format " &amp; IIf(m_LockFormatBrush, " and deactivate format brush.", " and uncheck format brush")<br>&nbsp;&nbsp; End If<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; If Not m_LockFormatBrush Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' FormatBrush hasn't been double-clicked, so reset<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mo_FormatBrush.Checked = False<br>&nbsp;&nbsp; End If<br>End Sub<br><br>Private Sub Form_Click()<br>&nbsp;&nbsp; ApplyFormatBrushIfActive<br>End Sub<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp; With Me.CommandBars1.AddMenuBar("Test").Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set mo_FormatBrush = .Add(xtpControlButton, 100, "Format")<br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 04 May 2011 09:27:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64189&amp;title=dblclick-on-commandbar#64189</guid>
  </item> 
  <item>
   <title><![CDATA[DblClick on Commandbar : Gibra, thank you for the suggestion....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64186&amp;title=dblclick-on-commandbar#64186</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1401">jpcoffeyXXX</a><br /><strong>Subject:</strong> 18310<br /><strong>Posted:</strong> 04 May 2011 at 7:59am<br /><br />Gibra, thank you for the suggestion.&nbsp; I will consider that if I do not find a more traditional solution.<br><br>After I posted the question, it occurred to me that I should have suggested a couple of hacks I was kicking around in hope that someone else had succeeded in implementing them.&nbsp; For example,<br><br><ul><li>Anybody implemented a <b>DblClick </b>via markup on the commandbars?&nbsp; Markup is permitted on the status bars and the tabs, but I am not sure if it is available on the commandbars themselves.</li></ul><ul><li>Anybody implemented a <b>DblClick </b>via the ExecuteOnPressInterval property?&nbsp; I am sure I could fake a double click if I manipulate this property wisely.&nbsp; <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" title="Wink" alt="Wink" /></li></ul><br>If anybody could help me squeeze a <b>DblClick </b>event out of the commandbars I would be very appreciative.&nbsp; Otherwise, I will have to deviate from the accepted norms (Microsoft Word) of doing things and prospective customers never like that.&nbsp; <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" title="Cry" alt="Cry" /><br><br>Thank you!<br><br>Sincerely,<br><br>John Coffey <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" title="Smile" alt="Smile" /><br><br><br>]]>
   </description>
   <pubDate>Wed, 04 May 2011 07:59:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64186&amp;title=dblclick-on-commandbar#64186</guid>
  </item> 
  <item>
   <title><![CDATA[DblClick on Commandbar : You can use ControlRButtonUp event...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64177&amp;title=dblclick-on-commandbar#64177</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18310<br /><strong>Posted:</strong> 04 May 2011 at 4:29am<br /><br />You can use <strong>ControlRButtonUp</strong> event <DIV></DIV><DIV></DIV>that work as Execute event. <DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV>]]>
   </description>
   <pubDate>Wed, 04 May 2011 04:29:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64177&amp;title=dblclick-on-commandbar#64177</guid>
  </item> 
  <item>
   <title><![CDATA[DblClick on Commandbar : I am trying to mimic the format...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64173&amp;title=dblclick-on-commandbar#64173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1401">jpcoffeyXXX</a><br /><strong>Subject:</strong> 18310<br /><strong>Posted:</strong> 03 May 2011 at 7:46pm<br /><br /><img src="http://www.coffeycompound.org/fmt_pnt.png" height="32" width="32" border="0" alt="&#070;ormat painting for JobTabs Job Search Software." title="&#070;ormat painting for JobTabs Job Search Software." /><br>I am trying to mimic the format painter in MS Word.&nbsp; If the user clicks the format painter button once, they can paste the format to a selection and they are done.&nbsp; If they <b>DblClick</b> the button, the button will stay down until they uncheck the button.&nbsp; My problem is the command bar control does not have a <b>DblClick</b> event.&nbsp; I am at my wits end in trying to come up with a solution.&nbsp; Can anybody suggest a solution or a work around?&nbsp; Thank you.<br><br>Sincerely,<br><br>John Coffey<br><br>VB6, Service Pack 6<br>WindowsXP O/S<br>Codejock 13.4, but will soon install Codejock 15.0<br><br>]]>
   </description>
   <pubDate>Tue, 03 May 2011 19:46:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18310&amp;PID=64173&amp;title=dblclick-on-commandbar#64173</guid>
  </item> 
 </channel>
</rss>