<?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=125297&amp;view=findpost&amp;p=3350794</guid>
        <pubDate>Thu, 29 Aug 2013 19:45:49 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=3350794</link>
        <description><![CDATA[ivanius: Есть у нас пример переписывания TStringGrid`a где добавляем тип ячейки т.е. esEllipsis(кнопка скраю с 3 точками) esPickList(по типу комбобокса) и т.д. вот отсюда <a class='tag-url' href='http://delphi.cjcsoft.net/viewthread.php?tid=47965' target='_blank'>http://delphi.cjcsoft.net/viewthread.php?tid=47965</a><br>
 там используют TInplaceEdit, но я использую не стандартный стринг грид, а вот отсюда <a class='tag-url' href='http://avemey.com/zcolorstringgrid/z...id.php?lang=ru' target='_blank'>http://avemey.com/zcolorstringgrid/z...id.php?lang=ru</a><br>
 + я его уже дописал для себя и добавил еще свойств как в екселе, но вот реализовать эти кнопочки не могу т.к. вместо стандартного TInplaceEdit в нем используется TCustomMemo, а одно к другому практически не совместимо.<br>
 Конкретнее мне нужно в этот TCustomMemo добавить свойства тип (что я успешно сделал) и при смене его, рисовать кнопку или комбобокс и обрабатывать нажатие (что я не сделал), копавшись в исходниках TInplaceEdit`a ни к чему не пришел и прошу помощи.<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">&nbsp;&nbsp; &nbsp;//&#226;&#236;&#229;&#241;&#242;&#238; &#241;&#242;&#224;&#237;&#228;&#224;&#240;&#242;&#237;&#238;&#227;&#238; InplaceEditor-&#224;</div><div class="code_line">&nbsp;&nbsp;TZInplaceEditor = class(TCustomMemo)</div><div class="code_line">&nbsp;&nbsp;private</div><div class="code_line">&nbsp;&nbsp; &nbsp;FGrid: TZColorStringGrid;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FExEn: integer; &nbsp;// &quot;&#234;&#238;&#241;&#242;&#251;&#235;&#252;&quot; &#228;&#235;&#255; &#232;&#241;&#239;&#240;&#224;&#226;&#237;&#238;&#233; &#240;&#224;&#225;&#238;&#242;&#251; DoEnter/DoExit *^_^*</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;protected</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure DoEnter; override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure DoExit; override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure Change; override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure DblClick; override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure KeyDown(var Key: Word; Shift: TShiftState); override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure KeyPress(var Key: Char); override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure KeyUp(var Key: Word; Shift: TShiftState); override;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;public</div><div class="code_line">&nbsp;&nbsp; &nbsp;constructor Create(AOwner: TComponent); override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;function &nbsp;DoMouseWheelDown(Shift: TShiftState; MousePos: TPoint): Boolean; override;</div><div class="code_line">&nbsp;&nbsp; &nbsp;function &nbsp;DoMouseWheelUp(Shift: TShiftState; MousePos: TPoint): Boolean;override;</div><div class="code_line">&nbsp;&nbsp;end;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;TInplaceEditorOptions = class (TPersistent)</div><div class="code_line">&nbsp;&nbsp;private</div><div class="code_line">&nbsp;&nbsp; &nbsp;FGrid: TZColorStringGrid;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FFontColor: TColor;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FBGColor: TColor;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FBorderStyle: TBorderStyle;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FAlignment: TAlignment;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FWordWrap: Boolean;</div><div class="code_line">&nbsp;&nbsp; &nbsp;FUseCellStyle: Boolean;</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure SetFontColor(const Value: TColor);</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure SetBGColor(const Value: TColor);</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure SetBorderStyle(const Value: TBorderStyle);</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure SetAlignment(const Value: TAlignment);</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure SetWordWrap(const Value: Boolean);</div><div class="code_line">&nbsp;&nbsp; &nbsp;procedure SetUseCellStyle(const Value: Boolean);</div><div class="code_line">&nbsp;&nbsp;protected</div><div class="code_line">&nbsp;&nbsp;public</div><div class="code_line">&nbsp;&nbsp; &nbsp;constructor Create(AGrid: TZColorStringGrid); virtual;</div><div class="code_line">&nbsp;&nbsp;published</div><div class="code_line">&nbsp;&nbsp; &nbsp;property FontColor: TColor read FFontColor write SetFontColor default clblack;</div><div class="code_line">&nbsp;&nbsp; &nbsp;property BGColor: TColor read FBGColor write SetBGColor default clWhite;</div><div class="code_line">&nbsp;&nbsp; &nbsp;property BorderStyle: TBorderStyle read FBorderStyle write SetBorderStyle default bsNone;</div><div class="code_line">&nbsp;&nbsp; &nbsp;property Alignment: TAlignment read FAlignment write SetAlignment default taLeftJustify;</div><div class="code_line">&nbsp;&nbsp; &nbsp;property WordWrap: Boolean read FWordWrap write SetWordWrap default true;</div><div class="code_line">&nbsp;&nbsp; &nbsp;property UseCellStyle: Boolean read FUseCellStyle write SetUseCellStyle default true;</div><div class="code_line">&nbsp;&nbsp;end;</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
<br>
 П.С. Если не туда копаю тогда прошу направить меня в нужное русло&#33;]]></description>
        <author>ivanius</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=2520916</guid>
        <pubDate>Tue, 02 Mar 2010 11:56:52 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=2520916</link>
        <description><![CDATA[User32: Нужно добавить возможность окраски произвольно выбранных ячеек в любой цвет.<br>Ну по примеру: http://www.infomix.ru:8000/lib/components/3885.htm]]></description>
        <author>User32</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1760738</guid>
        <pubDate>Mon, 12 Nov 2007 08:21:32 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1760738</link>
        <description><![CDATA[Smike: Поддержка Unicode планируется централизованно в Delphi 2008.]]></description>
        <author>Smike</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1760196</guid>
        <pubDate>Sun, 11 Nov 2007 14:34:19 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1760196</link>
        <description><![CDATA[Stalker.mg: есть поддержка WideString?]]></description>
        <author>Stalker.mg</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1655825</guid>
        <pubDate>Mon, 06 Aug 2007 04:33:28 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1655825</link>
        <description><![CDATA[chafinch: нужны такие вот дополнительные возможности: <br>1) Возможность выпадающих списков и кнопок выбора для ячеек. <br>2) Возможность выбора нескольких несмежных ячеек <br>Второе менее важно, но тоже хотелось бы  :huh:]]></description>
        <author>chafinch</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1645333</guid>
        <pubDate>Tue, 24 Jul 2007 19:31:56 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1645333</link>
        <description><![CDATA[Dmitry_177: было бы неплохо еще сделать так: если в ячейке длинная строка, то ставить многоточие вместо того что невлезло, а при наведении мышки, чтобы выскакивала полная строка в виде подсказки]]></description>
        <author>Dmitry_177</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1165927</guid>
        <pubDate>Thu, 06 Jul 2006 03:03:13 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1165927</link>
        <description><![CDATA[SmK: <strong class='tag-b'>DimaBr</strong>, DevExpress платный, а юзать крякнутые компоненты черевато]]></description>
        <author>SmK</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1121761</guid>
        <pubDate>Thu, 01 Jun 2006 11:36:32 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1121761</link>
        <description><![CDATA[User32: Неплохо было бы добавить возможность выпадающего списка как у DBGrid.]]></description>
        <author>User32</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1068891</guid>
        <pubDate>Thu, 06 Apr 2006 20:28:41 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1068891</link>
        <description><![CDATA[zubr: <strong class='tag-b'>ufo_cat</strong>, Ok, принято.]]></description>
        <author>zubr</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1067608</guid>
        <pubDate>Thu, 06 Apr 2006 04:40:17 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=1067608</link>
        <description><![CDATA[ufo_cat: Неплохо было бы добавить возможность раскраски конкретной ячейки и выбор ее фона, можно например создать массив, где бы хранились атрибуты для ячеек и перехватывать обработчик события перерисовки таблицы, где и в зависимости от атрибутов рисовать ячейку.]]></description>
        <author>ufo_cat</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=955335</guid>
        <pubDate>Wed, 21 Dec 2005 05:08:54 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=955335</link>
        <description><![CDATA[zubr: По мере свободного времени я продолжу расширять этот компонент в сторону функциональных возможностей, например есть идея добавить возможность создать список ячеек, которые должны раскрашиваться в разные цвета, также добавлю сюда возможности своего компонента EmergingHelp - при вводе в ячейку должен появиться список подсказок как в IDE Delphi. В общем если у кого есть идеи по расширению возможностей StringGrid кидайте сюда.]]></description>
        <author>zubr</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=953833</guid>
        <pubDate>Mon, 19 Dec 2005 16:17:57 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=953833</link>
        <description><![CDATA[sesoko: Сказано-сделано.Сенкс.]]></description>
        <author>sesoko</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=944982</guid>
        <pubDate>Sun, 11 Dec 2005 10:22:51 +0000</pubDate>
        <title>Расширенный StringGrid</title>
        <link>https://forum.sources.ru/index.php?showtopic=125297&amp;view=findpost&amp;p=944982</link>
        <description><![CDATA[zubr: На базе компонента TStringGrid создал TCLStringGrid с дополнительными возможностями:<br>
1. Возможность менять цвет раделительных линий фиксированных и не фиксированных ячеек.<br>
2. Возможность менять шрифты в фиксированных ячейках, в выделенной строке.<br>
3. Возможность менять цвет фона выделенной строки.<br>
4. Возможность менять цвет и толщину линий ограничивающих выделенную строку.<br>
5. Добавилось свойство Aligment - возможность менять расположение текста в ячейках (слева, справа, по центру).<br>
В общем возможности отображены в <a class='tag-url' href='http://res6.narod.ru/Scrin.jpg' target='_blank'>скриншоте</a><br>
Новые свойства смотрите в файле Readme.txt<br>
Компонент серьезно не тестировал, но поверхностно все работает.]]></description>
        <author>zubr</author>
        <category>Delphi: Разработка компонентов</category>
      </item>
	
      </channel>
      </rss>
	