StupidBeauty
Read times:470Posted 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

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4