<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Message box formatting in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395194#M33399</link>
    <description>&lt;P&gt;Is there a way to format the message text in an ilogic message box (control when text needs to be put on a new line).&amp;nbsp; Also; if they exist; would anyone know where I might be able to find a list of operators / controls for message boxes along these lines?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;As it is now.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Due to remainder value being less than the minimum allowable, the Max And Remainder selection has been removed from the split style list.  If the Max And Remainder was previously selected it has been changed to All Equal"&lt;/SPAN&gt;, &lt;SPAN&gt;"Remainder Piece Too Short"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Due to remainder value being less than the minimum allowable, the Max And Remainder selection has been removed from the split style list.  If the Max And Remainder was previously selected it has been changed to All Equal.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;As I would like to see it&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Due to remainder value being less than the minimum allowable,&lt;BR /&gt;the Max And Remainder selection has been removed from the split style list.&lt;BR /&gt;If the Max And Remainder was previously selected it has been changed to All Equal"&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;"Remainder Piece Too Short"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2022 13:03:45 GMT</pubDate>
    <dc:creator>brad.jackson</dc:creator>
    <dc:date>2022-09-01T13:03:45Z</dc:date>
    <item>
      <title>Message box formatting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395194#M33399</link>
      <description>&lt;P&gt;Is there a way to format the message text in an ilogic message box (control when text needs to be put on a new line).&amp;nbsp; Also; if they exist; would anyone know where I might be able to find a list of operators / controls for message boxes along these lines?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;As it is now.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Due to remainder value being less than the minimum allowable, the Max And Remainder selection has been removed from the split style list.  If the Max And Remainder was previously selected it has been changed to All Equal"&lt;/SPAN&gt;, &lt;SPAN&gt;"Remainder Piece Too Short"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Due to remainder value being less than the minimum allowable, the Max And Remainder selection has been removed from the split style list.  If the Max And Remainder was previously selected it has been changed to All Equal.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;As I would like to see it&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Due to remainder value being less than the minimum allowable,&lt;BR /&gt;the Max And Remainder selection has been removed from the split style list.&lt;BR /&gt;If the Max And Remainder was previously selected it has been changed to All Equal"&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN&gt;"Remainder Piece Too Short"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 13:03:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395194#M33399</guid>
      <dc:creator>brad.jackson</dc:creator>
      <dc:date>2022-09-01T13:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Message box formatting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395255#M33400</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5408090"&gt;@brad.jackson&lt;/a&gt;.&amp;nbsp; To force your message's text to wrap to the next line at a specific point, you can use vbCrLf, vbCr, vbLf, or vbNewLine (the vbNewLine still works, but is being phased out).&amp;nbsp; The 'Cr' represents a carriage return, a term used when mechanical type writers were popular, which meant to physically move the printing head back to the start of the line (left side).&amp;nbsp; The 'Lf' represents Line Feed, also relating to mechanical typewriters, which was when you physically fed the paper up one line, so you are ready to start typing on the next line down.&lt;/P&gt;
&lt;P&gt;Here is an example of this in use:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;MsgBox("Line 1" &amp;amp; vbCrLf &amp;amp; "Line 2" &amp;amp; vbCrLf &amp;amp; "Line 3")
'or
MessageBox.Show("Line 1" &amp;amp; vbCrLf &amp;amp; "Line 2" &amp;amp; vbCrLf &amp;amp; "Line 3")&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 01 Sep 2022 13:30:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395255#M33400</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-09-01T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Message box formatting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395325#M33401</link>
      <description>&lt;P&gt;HI!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use something like this:&lt;/P&gt;&lt;P&gt;Tip: I find it easier to preview the final result, add "blank" lines, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;i&lt;/SPAN&gt; = &lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Error: Curvature Radius must be greater than Tube Radius."&lt;/SPAN&gt; _
&amp;amp; &lt;SPAN&gt;vbLf&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"Enter values which respect this rule."&lt;/SPAN&gt; _
&amp;amp; &lt;SPAN&gt;vbLf&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;""&lt;/SPAN&gt; _
&amp;amp; &lt;SPAN&gt;vbLf&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"Temporarily, the radius values will be set to:"&lt;/SPAN&gt; _
&amp;amp; &lt;SPAN&gt;vbLf&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"Curvature Radius = 2x Tube Radius"&lt;/SPAN&gt;, &lt;SPAN&gt;" Error!!Insufficient Curvature Radius "&lt;/SPAN&gt;, &lt;SPAN&gt;MessageBoxButtons&lt;/SPAN&gt;.&lt;SPAN&gt;OKCancel&lt;/SPAN&gt;, &lt;SPAN&gt;MessageBoxIcon&lt;/SPAN&gt;.&lt;SPAN&gt;Exclamation&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Preview:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ccarreiras_0-1662040489303.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1110652i5968B093396AC076/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ccarreiras_0-1662040489303.png" alt="ccarreiras_0-1662040489303.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 13:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395325#M33401</guid>
      <dc:creator>CCarreiras</dc:creator>
      <dc:date>2022-09-01T13:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Message box formatting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395358#M33402</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perfect.&amp;nbsp; Thanks.&amp;nbsp; I have another question on this subject.&amp;nbsp; Is there a way to turn on word wrap or move to the next line in ilogic for a line of code that is longer than the screen is wide.&amp;nbsp; That would be great if I didnt have to scroll to the right to see all of my code.&amp;nbsp; I tried just using the enter key to move to the next line, but ilogic does not seem to like that.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bradjackson_0-1662041142205.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1110657i050858C33574335E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bradjackson_0-1662041142205.png" alt="bradjackson_0-1662041142205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395358#M33402</guid>
      <dc:creator>brad.jackson</dc:creator>
      <dc:date>2022-09-01T14:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Message box formatting</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395373#M33403</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/576681"&gt;@CCarreiras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see now where you included an example of how to better format the actual line of code in ilogic to "wrap' a long line for better readability.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bradjackson_0-1662041473229.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1110658i407806EE7E5B7EA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bradjackson_0-1662041473229.png" alt="bradjackson_0-1662041473229.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 14:11:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/message-box-formatting/m-p/11395373#M33403</guid>
      <dc:creator>brad.jackson</dc:creator>
      <dc:date>2022-09-01T14:11:18Z</dc:date>
    </item>
  </channel>
</rss>

