<?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 Re: VBA tri le TXT in bloc dans listbox idem bloc écran in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4874388#M10634</link>
    <description>&lt;P&gt;I got it that you wanted texts sorted by their text value&lt;/P&gt;&lt;P&gt;you'll find the revised code for sorting by text insertion point "Y" coordinate in&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cadtutor.net/forum/showthread.php?84926-VB-Sorts-text-screen-ditto-text-block-in&amp;amp;p=583827#post583827" target="_self"&gt;http://www.cadtutor.net/forum/showthread.php?84926-VB-Sorts-text-screen-ditto-text-block-in&amp;amp;p=583827#post583827&lt;/A&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2014 07:30:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-10T07:30:33Z</dc:date>
    <item>
      <title>VBA tri le TXT in bloc dans listbox idem bloc écran</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4855179#M10631</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;in autocad block 4 line TXT&lt;BR /&gt;TXT1 (handle # 3)&lt;BR /&gt;TXT2 (handle # 2)&lt;BR /&gt;TXT3 (handle No. 4)&lt;BR /&gt;TXT4 (handle # 1)&lt;BR /&gt;&lt;BR /&gt;When I recuper the string in a combobox it puts me in the order of handle&lt;BR /&gt;TXT4,2,1,3&lt;BR /&gt;I then I want in the order of the line screen TXT1,2,3,4&lt;BR /&gt;&lt;BR /&gt;Thank you for your help&lt;BR /&gt;********&lt;BR /&gt;Bonjour&lt;BR /&gt;Dans le bloc autocad 4 lignes de TXT&lt;BR /&gt;TXT1 (handle N°3)&lt;BR /&gt;TXT2 (handle N°2)&lt;BR /&gt;TXT3 (handle N°4)&lt;BR /&gt;TXT4 (handle N°1)&lt;BR /&gt;&lt;BR /&gt;Quand je recupere le string dans une combobox il me le met dans l'ordre du handle =&amp;gt;Ligne 4,2,1,3&lt;BR /&gt;alors que je je veux dans l'ordre de l'écran ligne 1,2,3,4&lt;BR /&gt;&lt;BR /&gt;Merci pour votre aide&lt;/P&gt;&lt;PRE&gt;Public Sub LireTxt()
Dim objBloc As AcadBlock
Dim objEnt As AcadEntity
Dim objEntTxT As as AcadText
   
ThisDrawing.Utility.GetEntity objBlocRef, Pt1, "Sélectionnez le bloc à modifier :"
Set objBloc = ThisDrawing.Blocks(objBlocRef.Name)
   
    For Each objEnt In objBloc
        If objEnt.ObjectName = "AcDbText" Then
            ListBoxTxt.AddItem objEntTxT.textString
        Endif
    Next

End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:57:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4855179#M10631</guid>
      <dc:creator>acad386</dc:creator>
      <dc:date>2014-03-04T15:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: VBA tri le TXT in bloc dans listbox idem bloc écran</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4857019#M10632</link>
      <description>&lt;P&gt;you have to:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;store LineTexts text in&amp;nbsp;a temporary&amp;nbsp;array&lt;/P&gt;&lt;P&gt;2) order the array&lt;/P&gt;&lt;P&gt;3) fill listbox with sorted array content&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see the attached example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 07:52:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4857019#M10632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-05T07:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: VBA tri le TXT in bloc dans listbox idem bloc écran</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4874110#M10633</link>
      <description>&lt;P&gt;No good code&lt;/P&gt;&lt;P&gt;view fichier dwg for solution&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2014 03:59:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4874110#M10633</guid>
      <dc:creator>acad386</dc:creator>
      <dc:date>2014-03-10T03:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: VBA tri le TXT in bloc dans listbox idem bloc écran</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4874388#M10634</link>
      <description>&lt;P&gt;I got it that you wanted texts sorted by their text value&lt;/P&gt;&lt;P&gt;you'll find the revised code for sorting by text insertion point "Y" coordinate in&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cadtutor.net/forum/showthread.php?84926-VB-Sorts-text-screen-ditto-text-block-in&amp;amp;p=583827#post583827" target="_self"&gt;http://www.cadtutor.net/forum/showthread.php?84926-VB-Sorts-text-screen-ditto-text-block-in&amp;amp;p=583827#post583827&lt;/A&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2014 07:30:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-tri-le-txt-in-bloc-dans-listbox-idem-bloc-ecran/m-p/4874388#M10634</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-10T07:30:33Z</dc:date>
    </item>
  </channel>
</rss>

