<?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 : SOLVED: Force string to full view</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : SOLVED: Force string to full view]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 06:33:12 +0000</pubDate>
  <lastBuildDate>Sat, 26 Jul 2008 03:40:24 +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=11558</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[SOLVED: Force string to full view : Hi Jason,  Would be nice if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38915&amp;title=solved-force-string-to-full-view#38915</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 26 July 2008 at 3:40am<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Would be nice if this would work. For the autoresizing of multiline items issue, we have a property already: MultiLinesCount , so if set to 3 resize only for 3 lines <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp;I think CJ is preparing Markup for propitems as well <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;so than we don't need it anymore, we will make our own DrawTextWordBreak hehehe.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 26 Jul 2008 03:40:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38915&amp;title=solved-force-string-to-full-view#38915</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hi Aaron,  I did try your string,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38899&amp;title=solved-force-string-to-full-view#38899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 25 July 2008 at 11:33am<br /><br />Hi Aaron,<br><br>I did try your string, and it *almost* works. I think the code isuseful for illustrating a problem with the CJ word wrapping - it onlysplits at space characters. This may just be the behaviour of theDrawText/DrawTextEx API though (if that is what CJ uses to draw thetext to the screen), so I wonder if there is much they can do about itthough.<br><br>The code is also useful for illustrating another problem - when a row is selected DrawTextWordBreak is ignored. <br><br>Personally, I think that VariableItemsHeight=True should mean just that- that each row can have its own height, but not be automaticallycalculated. If a user types 10 lines of text, I might only want to show3 (for&nbsp; example). But it would be very useful if the PropertyGridItemhad an AutoHeight property (or similar). When True the row would besized to fit the text. Of course this would require properword-breaking at not just spaces, but also slashes, dashes, (others?).<br><br><br><img src="uploads/20080725_113224_propgridresize.jpg" height="233" width="441" border="0">]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 11:33:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38899&amp;title=solved-force-string-to-full-view#38899</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hi Jason,  Thanks for reply,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38888&amp;title=solved-force-string-to-full-view#38888</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 25 July 2008 at 6:30am<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Thanks for reply, if you put in a string as I showed in the first post it won't work, so this isn't helping me. I expect, when setting VariableHeight to True, the griditem would be resized to it's contents and NOT have to do a lot of calculating. But it doesn't work at all, even&nbsp;with DrawTextWordBreak, so why bother <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0">&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks again</DIV>]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 06:30:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38888&amp;title=solved-force-string-to-full-view#38888</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hi Aaron,Here&amp;#039;s a sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38867&amp;title=solved-force-string-to-full-view#38867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 5:09pm<br /><br />Hi Aaron,<br><br>Here's a sample that *almost* works. I've noticed something that appears to be a bug however. The PropertyGridItem ignores the DrawTextWordBreak format when the item has focus.&nbsp; <br><br>Also, I can't get the line count to match the word break exactly in all cases...my fudge number 5 can show 2 lines when only 1 is required when the text is near the edge of the first line (without wrapping). However changing it to 4 is worse (the wrapping can occur, but there is not enough space to show all of the item text).<br><br>Lastly, it appears that the wrapping doesn't properly occur in the control when you get over 2 lines with a long string with no spaces (like you path...maybe a bug in the control).<br><br>You can try the attached example and see if you have more success.<br><br><a href="uploads/20080724_170827_PropGridItemRes.zip" target="_blank">uploads/20080724_170827_PropGridItemRes.zip</a><br>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 17:09:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38867&amp;title=solved-force-string-to-full-view#38867</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hey Aaron,If you set the VariableItemsHeight...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38866&amp;title=solved-force-string-to-full-view#38866</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 4:12pm<br /><br />Hey Aaron,<br><br>If you set the VariableItemsHeight property of the PropertyGrid to True, you can set the Item.Height to some multiple of the TextHeight (say 3 lines). The for the item you want to show the full text for, set the ValueMetrics.DrawTextFormat = DrawTextWordBreak. (I've tested this for PropertyItemString only).<br><br>It should be possible to do the math for the required height for a particular width, but I haven't looked into if events exist that would allow us to dynamically set the height to always fit the full text when the PropertyGrid or Splitter is resized...I'll look into it.<br><br>And in Oleg's defence, I didn't understand exactly what you were looking for at first either :) Hope I interpreted it correctly.<br><br>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 16:12:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38866&amp;title=solved-force-string-to-full-view#38866</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view :   Yes or No     And please...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38830&amp;title=solved-force-string-to-full-view#38830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 7:52am<br /><br /><DIV></DIV><DIV>&nbsp;</DIV><DIV>Yes or No </DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080724_075047_CJPropgridMulti.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>And please don't be so difficult, you know exactly what I mean.</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 07:52:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38830&amp;title=solved-force-string-to-full-view#38830</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Seriosuly can&amp;#039;t catch it....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38829&amp;title=solved-force-string-to-full-view#38829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 7:43am<br /><br />Seriosuly can't catch it. <DIV>To show full string in PropertyItemString you need resize your propertry grid to fit string's wdith. What else?</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 07:43:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38829&amp;title=solved-force-string-to-full-view#38829</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hi Oleg  If I wanted to know...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38818&amp;title=solved-force-string-to-full-view#38818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 5:29am<br /><br />Hi Oleg<DIV>&nbsp;</DIV><DIV>If I wanted to know that, my question would be: Is it possible to see the full string when hovering the item?</DIV><DIV>&nbsp;</DIV><DIV>Please, look at the question again. If you don't see question properly, use MS Magnifier again <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thanks again</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 05:29:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38818&amp;title=solved-force-string-to-full-view#38818</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hi, User can see full string...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38813&amp;title=solved-force-string-to-full-view#38813</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 4:59am<br /><br />Hi,<DIV>User can see full string if hover over its value in tooltip....</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 04:59:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38813&amp;title=solved-force-string-to-full-view#38813</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Force string to full view : Hi,   I want to see the full...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38802&amp;title=solved-force-string-to-full-view#38802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11558<br /><strong>Posted:</strong> 24 July 2008 at 2:50am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I want to see the full string in a PropertyItemString or PropertyItemMultilineString, is this possible?</DIV><DIV>&nbsp;</DIV><DIV><strong>Example string</strong> = C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX V12.0\Samples\ReportControl\VB\ReportSample\Icons</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 02:50:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11558&amp;PID=38802&amp;title=solved-force-string-to-full-view#38802</guid>
  </item> 
 </channel>
</rss>