<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=21341&amp;view=findpost&amp;p=159869</guid>
        <pubDate>Thu, 01 Aug 2002 07:59:16 +0000</pubDate>
        <title>Log View Помогите плиз.</title>
        <link>https://forum.sources.ru/index.php?showtopic=21341&amp;view=findpost&amp;p=159869</link>
        <description><![CDATA[Monster: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <span class='tag-quote__quote-info'>Adil, 01.08.02, 11:21:29</span><div class='quote '>Посмотри тут:<br>http://forum.citforum.ru/mes.php?id=28896&amp;fs=0&amp;ord=0&amp;lst=0&amp;board=0&amp;arhv=</div></div><br><br>Нихрена я не понимаю в этом бэйсике.<br>Ничего у меня не получается.<br><br>if(ch _GE_ 128)<br>{<br>if(ch _GE_ 192&amp;&amp; ch _LE_ 239)<br><br>else if(ch==(unsigned char )'№')<br><br>Что такое GE LE и что за '№' ???<br><br>Эти мелкомягкие нихрена не могут ничего нормального сделать.]]></description>
        <author>Monster</author>
        <category>Borland C++ Builder/Turbo C++ Explorer</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=21341&amp;view=findpost&amp;p=159868</guid>
        <pubDate>Thu, 01 Aug 2002 07:21:29 +0000</pubDate>
        <title>Log View Помогите плиз.</title>
        <link>https://forum.sources.ru/index.php?showtopic=21341&amp;view=findpost&amp;p=159868</link>
        <description><![CDATA[Adil: Посмотри тут:<br>http://forum.citforum.ru/mes.php?id=28896&amp;fs=0&amp;ord=0&amp;lst=0&amp;board=0&amp;arhv=]]></description>
        <author>Adil</author>
        <category>Borland C++ Builder/Turbo C++ Explorer</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=21341&amp;view=findpost&amp;p=159867</guid>
        <pubDate>Thu, 01 Aug 2002 06:14:38 +0000</pubDate>
        <title>Log View Помогите плиз.</title>
        <link>https://forum.sources.ru/index.php?showtopic=21341&amp;view=findpost&amp;p=159867</link>
        <description><![CDATA[Monster: Вот захотел програмульку написать, на работе всегда может пригодиться. Записываю в неё все нужные мне логи, а потом по шелчку на них хотелось бы всё это видеть.<br>Ну вот проблема возникла с досовскими буквами. Перекодировкой никогда не занимался. Мне в принципе даже автоопределение не нужно. Вот куда вставить не знаю. И что вставить. Нужно дос текст в мемо или ричедите показывать.<br>Вот код формы в тексте<br><br><div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&#60;br&#62; &nbsp;object TreeView1: TTreeView&#60;br&#62; &nbsp; &nbsp;Left = 0&#60;br&#62; &nbsp; &nbsp;Top = 0&#60;br&#62; &nbsp; &nbsp;Width = 129&#60;br&#62; &nbsp; &nbsp;Height = 401&#60;br&#62; &nbsp; &nbsp;Indent = 19&#60;br&#62; &nbsp; &nbsp;TabOrder = 0&#60;br&#62; &nbsp; &nbsp;OnChange = TreeView1Change&#60;br&#62; &nbsp; &nbsp;Items.Data = {&#60;br&#62; &nbsp; &nbsp; &nbsp;030000001E0000000000000000000000FFFFFFFFFFFFFFFF0000000000000000&#60;br&#62; &nbsp; &nbsp; &nbsp;05312E6C6F671E0000000000000000000000FFFFFFFFFFFFFFFF000000000000&#60;br&#62; &nbsp; &nbsp; &nbsp;000005322E6C6F671E0000000000000000000000FFFFFFFFFFFFFFFF00000000&#60;br&#62; &nbsp; &nbsp; &nbsp;0000000005332E6C6F67}&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object Button1: TButton&#60;br&#62; &nbsp; &nbsp;Left = 80&#60;br&#62; &nbsp; &nbsp;Top = 408&#60;br&#62; &nbsp; &nbsp;Width = 49&#60;br&#62; &nbsp; &nbsp;Height = 25&#60;br&#62; &nbsp; &nbsp;Caption = &#39;Apply&#39;&#60;br&#62; &nbsp; &nbsp;TabOrder = 1&#60;br&#62; &nbsp; &nbsp;OnClick = Button1Click&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object Button2: TButton&#60;br&#62; &nbsp; &nbsp;Left = 0&#60;br&#62; &nbsp; &nbsp;Top = 408&#60;br&#62; &nbsp; &nbsp;Width = 33&#60;br&#62; &nbsp; &nbsp;Height = 25&#60;br&#62; &nbsp; &nbsp;Caption = &#39;New&#39;&#60;br&#62; &nbsp; &nbsp;TabOrder = 2&#60;br&#62; &nbsp; &nbsp;OnClick = Button2Click&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object Button3: TButton&#60;br&#62; &nbsp; &nbsp;Left = 40&#60;br&#62; &nbsp; &nbsp;Top = 408&#60;br&#62; &nbsp; &nbsp;Width = 33&#60;br&#62; &nbsp; &nbsp;Height = 25&#60;br&#62; &nbsp; &nbsp;Caption = &#39;Del&#39;&#60;br&#62; &nbsp; &nbsp;TabOrder = 3&#60;br&#62; &nbsp; &nbsp;OnClick = Button3Click&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object RichEdit1: TRichEdit&#60;br&#62; &nbsp; &nbsp;Left = 136&#60;br&#62; &nbsp; &nbsp;Top = 0&#60;br&#62; &nbsp; &nbsp;Width = 513&#60;br&#62; &nbsp; &nbsp;Height = 401&#60;br&#62; &nbsp; &nbsp;Lines.Strings = (&#60;br&#62; &nbsp; &nbsp; &nbsp;&#39;RichEdit1&#39;)&#60;br&#62; &nbsp; &nbsp;ScrollBars = ssVertical&#60;br&#62; &nbsp; &nbsp;TabOrder = 4&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object Button4: TButton&#60;br&#62; &nbsp; &nbsp;Left = 184&#60;br&#62; &nbsp; &nbsp;Top = 416&#60;br&#62; &nbsp; &nbsp;Width = 225&#60;br&#62; &nbsp; &nbsp;Height = 17&#60;br&#62; &nbsp; &nbsp;Caption = &#39;Button4&#39;&#60;br&#62; &nbsp; &nbsp;TabOrder = 5&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object Timer1: TTimer&#60;br&#62; &nbsp; &nbsp;Interval = 60000&#60;br&#62; &nbsp; &nbsp;OnTimer = Timer1Timer&#60;br&#62; &nbsp; &nbsp;Left = 88&#60;br&#62; &nbsp; &nbsp;Top = 8&#60;br&#62; &nbsp;end&#60;br&#62; &nbsp;object OpenDialog1: TOpenDialog&#60;br&#62; &nbsp; &nbsp;Left = 88&#60;br&#62; &nbsp; &nbsp;Top = 48&#60;br&#62; &nbsp;end&#60;br&#62;end&#60;br&#62;</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br><br>unit1.cpp<br><div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&#60;br&#62;TForm1 *Form1;&#60;br&#62;int run=0;&#60;br&#62;AnsiString select;&#60;br&#62;AnsiString aDirSav;&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;__fastcall TForm1::TForm1(TComponent* Owner)&#60;br&#62; &nbsp; &nbsp; &nbsp; &nbsp;: TForm(Owner)&#60;br&#62;{&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;void __fastcall TForm1::Button1Click(TObject *Sender)&#60;br&#62;{&#60;br&#62;TreeView1-&#62;SaveToFile(aDirSav);&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;&#60;br&#62;void __fastcall TForm1::FormCreate(TObject *Sender)&#60;br&#62;{&#60;br&#62;aDirSav=GetCurrentDir()+&quot;\tree.sav&quot;;&#60;br&#62;TreeView1-&#62;LoadFromFile(aDirSav);&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;&#60;br&#62;void __fastcall TForm1::Timer1Timer(TObject *Sender)&#60;br&#62;{&#60;br&#62;if(run==1)&#60;br&#62;{&#60;br&#62;//Memo1-&#62;Clear();&#60;br&#62;RichEdit1-&#62;Clear();&#60;br&#62;select=TreeView1-&#62;Selected-&#62;Text;&#60;br&#62;//Memo1-&#62;Lines-&#62;LoadFromFile(select);&#60;br&#62;RichEdit1-&#62;Lines-&#62;LoadFromFile(select);&#60;br&#62;}&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;&#60;br&#62;void __fastcall TForm1::TreeView1Change(TObject *Sender, TTreeNode *Node)&#60;br&#62;{&#60;br&#62;run=1;&#60;br&#62;//Memo1-&#62;Clear();&#60;br&#62;RichEdit1-&#62;Clear();&#60;br&#62;select=TreeView1-&#62;Selected-&#62;Text;&#60;br&#62;Memo1-&#62;Lines-&#62;LoadFromFile(select);&#60;br&#62;RichEdit1-&#62;Lines-&#62;LoadFromFile(select);&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;&#60;br&#62;void __fastcall TForm1::Button2Click(TObject *Sender)&#60;br&#62;{&#60;br&#62;AnsiString s;&#60;br&#62;if(OpenDialog1-&#62;Execute())&#60;br&#62;{&#60;br&#62;s=OpenDialog1-&#62;FileName;&#60;br&#62;//s=InputBox(&quot;Новый лог&quot;,&quot;Введите путь к файлу&quot;,s);&#60;br&#62;TreeView1-&#62;Items-&#62;Insert(TreeView1-&#62;Items-&#62;Item[0],s);&#60;br&#62;}&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;&#60;br&#62;void __fastcall TForm1::Button3Click(TObject *Sender)&#60;br&#62;{&#60;br&#62;TreeView1-&#62;Items-&#62;Delete(TreeView1-&#62;Selected);&#60;br&#62;}&#60;br&#62;//---------------------------------------------------------------------------&#60;br&#62;&#60;br&#62;</div></ol></div></div></div></div><br><br>Дизайн и т.д. всё наброски. Вот как перекодировать не знаю. С виндовским текстом всё ок.]]></description>
        <author>Monster</author>
        <category>Borland C++ Builder/Turbo C++ Explorer</category>
      </item>
	
      </channel>
      </rss>
	