<?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 : Label: MouseIcon e MouseCursor missing!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Label: MouseIcon e MouseCursor missing!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 06:24:04 +0000</pubDate>
  <lastBuildDate>Mon, 09 May 2011 02:59:53 +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=18340</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[Label: MouseIcon e MouseCursor missing! :   jpbro wrote:I didn&amp;#039;t know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64277&amp;title=label-mouseicon-e-mousecursor-missing#64277</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18340<br /><strong>Posted:</strong> 09 May 2011 at 2:59am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />I didn't know that you were migrating an older project - it is definitely preferable to have all of the same properties, methods, etc... as the intrinsic controls to make this possible/easy. I hoped that once the major work on the Chart control was finished that CJ would revisit a lot of the outstanding issues in the other controls, but other than the ReportControl (on which Andre has been doing great work addressing the big list of old issues), it looks like the rest of the suite is not a high priority :(</td></tr></table><DIV>Yes, unfortunately.<BR></DIV><DIV><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br /><BR>Re: <I>the CJ.Label present a paint BUG after changed or resized that cause a bad repaint of control. </I></DIV><DIV>Do you have a sample to reproduce? I haven't been able to get a bad repaint in my limited test.<BR></td></tr></table> </DIV><DIV>I missed to explain that this&nbsp;bug&nbsp;happens at <U>design time</U>, so no project sample need to replicate this bug.</DIV><DIV><U>I use Windows7 64bit and WindowsXP Pro SP3 and <strong>both</strong> o.s. I have the same&nbsp;problem (from CJ v.13.x to v. 15.0.2)</U>. See images below&nbsp;:</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/4669/CJLabel_RepaintBug.png" height="81" width="161" border="0" /></DIV><DIV>1. In this case the CJ.Label is contained into a GroupBox control.</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/4669/cjLabel_RepaintBug2.png" height="107" width="169" border="0" /></DIV><DIV>2. in this case CJ.Label is contained into a PictureBox.</DIV><DIV>&nbsp;</DIV><DIV>The problem happens after you extend Label vertically.</DIV><DIV>In 1st image I have extended 1 time only</DIV><DIV>In&nbsp;2nd image I have extended more times.</DIV><DIV>&nbsp;</DIV><DIV>Thank you <img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 May 2011 02:59:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64277&amp;title=label-mouseicon-e-mousecursor-missing#64277</guid>
  </item> 
  <item>
   <title><![CDATA[Label: MouseIcon e MouseCursor missing! : I didn&amp;#039;t know that you were...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64272&amp;title=label-mouseicon-e-mousecursor-missing#64272</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18340<br /><strong>Posted:</strong> 08 May 2011 at 9:52pm<br /><br />I didn't know that you were migrating an older project - it is definitely preferable to have all of the same properties, methods, etc... as the intrinsic controls to make this possible/easy. I hoped that once the major work on the Chart control was finished that CJ would revisit a lot of the outstanding issues in the other controls, but other than the ReportControl (on which Andre has been doing great work addressing the big list of old issues), it looks like the rest of the suite is not a high priority :(<br><br>Re:  <i>the CJ.Label present a paint BUG after changed or resized that cause a bad repaint of control. </i>Do you have a sample to reproduce? I haven't been able to get a bad repaint in my limited test.<br>]]>
   </description>
   <pubDate>Sun, 08 May 2011 21:52:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64272&amp;title=label-mouseicon-e-mousecursor-missing#64272</guid>
  </item> 
  <item>
   <title><![CDATA[Label: MouseIcon e MouseCursor missing! : Thank jpbro for your code,  but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64268&amp;title=label-mouseicon-e-mousecursor-missing#64268</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18340<br /><strong>Posted:</strong> 08 May 2011 at 2:57pm<br /><br />Thank jpbro for your code,<DIV>&nbsp;</DIV><DIV>but honestly I think that it's very boring re-write tens of code only because CJ doesn't support standard VB controls properties!</DIV><DIV>As already write on others discussions, CJ controls <U>should be a improvements.</U></DIV><DIV>Migrating&nbsp;from a project wich use VB standard controls to the CJ controls should be automatic, and ALL CJ controls should to expose ALL standard VB controls properties. This isn't!</DIV><DIV>&nbsp;</DIV><DIV>In fact, in&nbsp;many cases (as this one) the developer is forced to re-write tens of code, to implement properties that a standard VB.Label where need to set only two properties!</DIV><DIV>&nbsp;</DIV><DIV>About this 'standard' properties I have asked many time ago, but nothing news&nbsp;from CJ support.</DIV><DIV>Perhaps is too hard to do... <img src="http://forum.codejock.com/smileys/smiley5.gif" height="17" width="17" border="0" alt="C&#111;nfused" title="C&#111;nfused" /></DIV><DIV>(see your <strong>SuiteControls TODO</strong>...)</DIV><DIV>&nbsp;</DIV><DIV>Also, the CJ.Label present a paint BUG after changed or resized that cause a bad repaint of control.</DIV><DIV>&nbsp;</DIV><DIV>IMHO</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 08 May 2011 14:57:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64268&amp;title=label-mouseicon-e-mousecursor-missing#64268</guid>
  </item> 
  <item>
   <title><![CDATA[Label: MouseIcon e MouseCursor missing! : You can use Markup for this in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64261&amp;title=label-mouseicon-e-mousecursor-missing#64261</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18340<br /><strong>Posted:</strong> 08 May 2011 at 9:44am<br /><br />You can use Markup for this in the meantime - for a demo, put 2 CodeJock labels on a form (Label1 and Label2) and then set the EnableMarkup properties to True in the IDE. The add this code and run:<DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>Option Explicit</DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Load()<BR>&nbsp;&nbsp; SetLabelLink Me.Label1, "<a href="http://www.google.com" target="_blank">www.google.com</A>"<BR>&nbsp;&nbsp; SetLabelLink Me.Label2, "<a href="http://www.yahoo.com" target="_blank">www.yahoo.com</A>"<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Private Sub SetLabelLink(po_Label As XtremeSuiteControls.Label, ByVal p_Url As String)<BR>&nbsp;&nbsp; If Not po_Label.EnableMarkup Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Err.Raise 5, , "Label must have the EnableMarkup property set to TRUE in the IDE in order for link clicking to work!"<BR>&nbsp;&nbsp; End If<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; p_Url = Trim$(EncodePlainTextForXaml(p_Url)) ' Make sure we aren't using any characters that will break our XAML parsing<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; If InStr(1, p_Url, "://") = 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Make sure we have a protocol in front<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p_Url = "http://" &amp; p_Url<BR>&nbsp;&nbsp; End If<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; With po_Label<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Add the hyperlink<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = "&lt;TextBlock&gt;&lt;Hyperlink Click='LinkClicked'&gt;" &amp; p_Url &amp; "&lt;/Hyperlink&gt;&lt;/TextBlock&gt;"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MarkupContext.SetHandler Me<BR>&nbsp;&nbsp; End With<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Public Sub LinkClicked(po_Sender As Object, po_Args As Object)<BR>&nbsp;&nbsp; MsgBox "Navigate to: " &amp; po_Sender.Inlines.Item(0).Text&nbsp; ' Navigate to the page<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Public Function EncodePlainTextForXaml(ByVal p_PlainText As String) As String<BR>&nbsp;&nbsp; ' Convert illegal characters to XAML entities<BR>&nbsp;&nbsp; p_PlainText = Replace$(p_PlainText, "&amp;", "&amp;amp;")<BR>&nbsp;&nbsp; p_PlainText = Replace$(p_PlainText, "&lt;", "&amp;lt;")<BR>&nbsp;&nbsp; p_PlainText = Replace$(p_PlainText, "&gt;", "&amp;gt;")<BR>&nbsp;&nbsp; p_PlainText = Replace$(p_PlainText, "'", "&amp;apos;")<BR>&nbsp;&nbsp; p_PlainText = Replace$(p_PlainText, """", "&amp;quot;")<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; ' Expand VB newline characters to XAML &lt;LineBreak/&gt; tags<BR>&nbsp;&nbsp; p_PlainText = Replace$(p_PlainText, vbNewLine, "&lt;LineBreak/&gt;")<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; EncodePlainTextForXaml = p_PlainText<BR>End Function</DIV><DIV></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Sun, 08 May 2011 09:44:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64261&amp;title=label-mouseicon-e-mousecursor-missing#64261</guid>
  </item> 
  <item>
   <title><![CDATA[Label: MouseIcon e MouseCursor missing! : I want to use a Labelas a link...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64259&amp;title=label-mouseicon-e-mousecursor-missing#64259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18340<br /><strong>Posted:</strong> 08 May 2011 at 8:04am<br /><br /><P>I want to use a Label&nbsp;as a link (i.e. http://<a href="http://www.google.com" target="_blank">www.google.com</A>) and I need show the <strong>hand</strong> cursor for this label when the mouse is over, as normally happens with any link.</P><DIV>Unfortunately <strong>MouseIcon</strong> and <strong>MouseCursor</strong> properties is missing. <img src="http://forum.codejock.com/smileys/smiley18.gif" height="17" width="17" border="0" alt="Ouch" title="Ouch" /></DIV><DIV>How to?</DIV><DIV>&nbsp;</DIV><DIV>I hope that CJ support add this properties&nbsp;into next release. <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV>]]>
   </description>
   <pubDate>Sun, 08 May 2011 08:04:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18340&amp;PID=64259&amp;title=label-mouseicon-e-mousecursor-missing#64259</guid>
  </item> 
 </channel>
</rss>