<?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 — Set Cursor Focus and Enter Key Handling]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=4621</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=4621&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Set Cursor Focus and Enter Key Handling.]]></description>
		<lastBuildDate>Mon, 12 Aug 2019 15:59:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32300#p32300</link>
			<description><![CDATA[<p>THANKS TO @jean.brezhonek.<br />Your answer is really explanatory.</p>]]></description>
			<author><![CDATA[null@example.com (Asifmute)]]></author>
			<pubDate>Mon, 12 Aug 2019 15:59:17 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32300#p32300</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32292#p32292</link>
			<description><![CDATA[<p>Hello Derek, Hello Asifmute</p><p>This is how Embarcadero Rad XE (language from which MVD flows) defines the use of the KeyPreview statement:</p><p>If KeyPreview is true, keyboard events occur on the form before they occur on the active control. (The active control is specified by the ActiveControl property.)&nbsp; </p><p>If KeyPreview is false, keyboard events occur only on the active control. </p><p>Navigation keys (Tab, BackTab, the arrow keys, and so on) are unaffected by KeyPreview because they do not generate keyboard events. Similarly, when a button has focus or when its Default property is true, the Enter key is unaffected by KeyPreview because it does not generate a keyboard events. </p><p>KeyPreview is false by default.</p><p>Have a good day</p><p>JB</p>]]></description>
			<author><![CDATA[null@example.com (jean.brezhonek)]]></author>
			<pubDate>Mon, 12 Aug 2019 05:59:00 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32292#p32292</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32290#p32290</link>
			<description><![CDATA[<p>OK, now I understand, Sorry I ask too much question.</p>]]></description>
			<author><![CDATA[null@example.com (Asifmute)]]></author>
			<pubDate>Mon, 12 Aug 2019 00:57:13 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32290#p32290</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32289#p32289</link>
			<description><![CDATA[<p>Hi,<br />As I understand it, setting &#039;keypreview&#039; to true basically allows you to process an action (in this example, using the &#039;enter&#039; key) AT THE FORM LEVEL instead of writing code for each individual object on that form.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Mon, 12 Aug 2019 00:12:42 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32289#p32289</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32288#p32288</link>
			<description><![CDATA[<p>THANKS, SIR, ONE QUESTION MORE,<br />Why KEYPREVIEW is needed...<br />//** don&#039;t&#039; forget to set &#039;key preview = true&#039; on Form1 object properties</p>]]></description>
			<author><![CDATA[null@example.com (Asifmute)]]></author>
			<pubDate>Sun, 11 Aug 2019 22:51:15 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32288#p32288</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32274#p32274</link>
			<description><![CDATA[<p>Hi,<br />Attached is an example of using the &#039;enter&#039; key to simulate the &#039;tab&#039; key.<br />Derek.</p>]]></description>
			<author><![CDATA[null@example.com (derek)]]></author>
			<pubDate>Sun, 11 Aug 2019 14:49:51 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32274#p32274</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=32271#p32271</link>
			<description><![CDATA[<p>Please uplaod a sample.</p>]]></description>
			<author><![CDATA[null@example.com (Asifmute)]]></author>
			<pubDate>Sun, 11 Aug 2019 10:25:12 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=32271#p32271</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=27174#p27174</link>
			<description><![CDATA[<p>Thanks it worked a lot</p>]]></description>
			<author><![CDATA[null@example.com (chrisyoco)]]></author>
			<pubDate>Tue, 09 Oct 2018 19:29:13 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=27174#p27174</guid>
		</item>
		<item>
			<title><![CDATA[Re: Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=27167#p27167</link>
			<description><![CDATA[<p>Hello chrysoco</p><p>CAn this be a clue for you ?</p><p>procedure frmEmployee_Ctrl_OnKeyDown (Sender: string; var Key: Word; Shift, Alt, Ctrl: boolean);<br />begin<br />&nbsp; &nbsp; if Key=13 then frmEmployee.SetFocusNextControl;<br />end;</p><p>&nbsp; &nbsp;<br />begin<br />&nbsp; &nbsp; frmEmployee.bSave.Default := False;<br />end.</p><p>JB</p>]]></description>
			<author><![CDATA[null@example.com (jean.brezhonek)]]></author>
			<pubDate>Mon, 08 Oct 2018 06:46:03 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=27167#p27167</guid>
		</item>
		<item>
			<title><![CDATA[Set Cursor Focus and Enter Key Handling]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=27165#p27165</link>
			<description><![CDATA[<p>How am i able to translate the following script for MVD.</p><p>I wish to press enter and to set focus to the next textbox.</p><br /><p><strong><br />Procedure textBox1_KeyDown(object sender, KeyEventArgs e)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; if (e.KeyCode == Keys.Enter)<br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; textBox2.Focus();<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }</strong></p>]]></description>
			<author><![CDATA[null@example.com (chrisyoco)]]></author>
			<pubDate>Mon, 08 Oct 2018 02:59:55 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=27165#p27165</guid>
		</item>
	</channel>
</rss>
