<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Keyboard delegates - General Development				            </title>
            <link>https://quartexdeveloper.com/community/main-forum/keyboard-delegates/</link>
            <description>Quartex Pascal Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 08 Mar 2026 20:23:22 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Keyboard delegates</title>
                        <link>https://quartexdeveloper.com/community/main-forum/keyboard-delegates/#post-142</link>
                        <pubDate>Mon, 08 Jul 2024 16:41:36 +0000</pubDate>
                        <description><![CDATA[Hi i do something like this:
 function doKey(const AEvent: THandle): Boolean;
 begin
  result := PerformKeyPress(AEvent.keyCode);
 end;

asm
   document.addEventListener(&#039;keydown&#039;, (e...]]></description>
                        <content:encoded><![CDATA[<p>Hi i do something like this:</p>
<pre contenteditable="false"> function doKey(const AEvent: THandle): Boolean;
 begin
  result := PerformKeyPress(AEvent.keyCode);
 end;

asm
   document.addEventListener('keydown', (event) =&gt; {
     if (@doKey(event)) {
      event.preventDefault();
     }
    });
  end;</pre>
<p>I am aware that this might not be the best way, but can easily hook the keyboard event.</p>]]></content:encoded>
						                            <category domain="https://quartexdeveloper.com/community/main-forum/">General Development</category>                        <dc:creator>Hackbart</dc:creator>
                        <guid isPermaLink="true">https://quartexdeveloper.com/community/main-forum/keyboard-delegates/#post-142</guid>
                    </item>
				                    <item>
                        <title>Keyboard delegates</title>
                        <link>https://quartexdeveloper.com/community/main-forum/keyboard-delegates/#post-140</link>
                        <pubDate>Fri, 28 Jun 2024 15:43:06 +0000</pubDate>
                        <description><![CDATA[Has anyone got the keyboard delegates to work, e.g. getting a key press delegate on the form to fire?]]></description>
                        <content:encoded><![CDATA[<p>Has anyone got the keyboard delegates to work, e.g. getting a key press delegate on the form to fire?</p>]]></content:encoded>
						                            <category domain="https://quartexdeveloper.com/community/main-forum/">General Development</category>                        <dc:creator>drbond</dc:creator>
                        <guid isPermaLink="true">https://quartexdeveloper.com/community/main-forum/keyboard-delegates/#post-140</guid>
                    </item>
							        </channel>
        </rss>
		