<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — highlight objects on form]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=9285</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=9285&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in highlight objects on form.]]></description>
		<lastBuildDate>Mon, 09 Feb 2026 20:46:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=53476#p53476</link>
			<description><![CDATA[<p>Hi&nbsp; Derek, you can try disabling ToolBar3.styles = False, like the image I sent.</p>]]></description>
			<author><![CDATA[null@example.com (agusecc)]]></author>
			<pubDate>Mon, 09 Feb 2026 20:46:10 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=53476#p53476</guid>
		</item>
		<item>
			<title><![CDATA[Re: highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52618#p52618</link>
			<description><![CDATA[<p>Hi Sparrow,<br />Thanks for the updates - nice.<br />Instead of using your &#039;shape&#039; procedure, another option might be to use the existing label (a label will always sit in the background by default) and just alter it&#039;s size so that it creates the effect of a border around each object.<br />Which ever method is used, I think it now highlights each object very well.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Wed, 11 Jun 2025 22:57:42 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52618#p52618</guid>
		</item>
		<item>
			<title><![CDATA[Re: highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52617#p52617</link>
			<description><![CDATA[<p>or</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Wed, 11 Jun 2025 21:00:49 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52617#p52617</guid>
		</item>
		<item>
			<title><![CDATA[Re: highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52616#p52616</link>
			<description><![CDATA[<p>Derek, your idea is interesting.</p><br /><p>Components on Panel, GroupBox, PageControl are supported.</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Wed, 11 Jun 2025 19:59:55 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52616#p52616</guid>
		</item>
		<item>
			<title><![CDATA[Re: highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52614#p52614</link>
			<description><![CDATA[<p>Hi Sparrow,<br />Thanks for the fix.<br />I knew about the issue with &#039;panels&#039; (it&#039;s the same for &#039;group boxes&#039; as well) but they are not used in my application (at the moment!).<br />Regards,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Wed, 11 Jun 2025 18:46:14 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52614#p52614</guid>
		</item>
		<item>
			<title><![CDATA[Re: highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52613#p52613</link>
			<description><![CDATA[<p>Hi Derek,</p><p>This is only part of the misunderstanding.<br />Suppose you place a Panel on the form and put several components on it. The coordinates of these components will be calculated from the anchor point of the Panel. There may also be problems with underlining. And not only the Panel... You can complicate the code and solve this.<br />Let&#039;s go back to RichEdit. This is a composite component (edit window, three menus ...) and apparently not fully described correctly in the source code. Sad.<br />But in this case you can get around it like this:</p><div class="codebox"><pre><code>procedure highlighter (Sender: TObject);
var
  TctrlS: TControl;
begin
  if Sender.classname = &#039;TRichViewEdit&#039; then
    TctrlS := TControl(Sender).parent else
      TctrlS := TControl(Sender);

  form1.label0.Width := TctrlS.width - 2;
  form1.label0.Left  := TctrlS.left + 1;
  form1.label0.top   := TctrlS.top + TctrlS.height;
end;</code></pre></div><p>The point of the solution is that for the RichEdit component editing window we find the owner of this window, which is &#039;RichEdit1&#039;.<br />Unfortunately, clicking on the RichEdit menu will not work.</p>]]></description>
			<author><![CDATA[null@example.com (sparrow)]]></author>
			<pubDate>Wed, 11 Jun 2025 16:25:38 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52613#p52613</guid>
		</item>
		<item>
			<title><![CDATA[highlight objects on form]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=52611#p52611</link>
			<description><![CDATA[<p>Hello Everyone,<br />I have an application that has a large number of objects on a form.<br />Because of this, I want to be able to indicate which object has focus to make it more user-friendly.<br />I have a small script to do this and it works fine except when there is a &#039;richtext&#039; object which the script does not recognise.<br />The script currently is written with &#039;TDbEedit(sender) but it makes no difference if you use &#039;TRichEdit&#039; (or anything else).<br />If you &#039;tab&#039; through the fields on the form in the attached example (or click in any field using the mouse) you will see what the problem is.<br />Running on MVD 6.5 / SQLite / Windows11.<br />Does anyone have any ideas?<br />Thanks,<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Wed, 11 Jun 2025 13:32:32 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=52611#p52611</guid>
		</item>
	</channel>
</rss>
