> Will try that, but first problem is nothing happens when key pressed Did you set KeyPreview to true? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Formkeydown-tp4042578p4042588.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.