StupidBeauty
Read times:494Posted at:Sat Jul 21 05:42:05 2012
- no title specified

转载:Some beginners problems

Delphi里,VK_RETURN是定义在LCLType中的。所以要uses LCLType。

http://www.lazarus.freepascal.org/index.php?topic=136.0

亮点:

3. I have a combobox on the same form and I'm trying to add some functionality to the OnKeyDown function. I'm interested when the enter key is pressed so I have a line 'if key = VK_RETURN then'. This will not compile as VK_RETURN identifier is not found. Any ideas how I make it find this?

Any help will be appreciated, I think I'll be impressed if I can get this to compile.

TykeBSD

PS Sorry for the long post!

Logged

TykeBSD

Some beginners problems

« Reply #1 on: February 07, 2004, 01:13:37 am »

Hi, me again

As a follow up I've solved problem 3, I needed to use the LCLType unit to get VK_RETURN.

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands