Why won't the virtual key codes work in program?



Why won't the virtual key codes work in program?..

Answer / Rajesh Bhatt

If virtual key codes are not working in your Delphi program, check if you have properly handled the OnKeyDown event and used the correct code for the desired virtual key. Also, ensure that the focus is on the control where you want to handle the keys.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Get user name and company info from Windows?

1 Answers  


What is the equivalent in BCB to a Pdox TCursor?

1 Answers  


what is rounding?

1 Answers  


What are Delphi and C++ Builder Action Lists and how to use them?

1 Answers  


How to retrieve the position of the cursor?

1 Answers  


'Insufficient memory to complete operation' error . what does this indicates?

1 Answers  


How to use the InterBase API security functions to add, modify and delete users?

1 Answers  


Do I have to know a lot about the Windows API to use Delphi?

1 Answers  


Explain the findnext method?

1 Answers  


How to Change font color on standard win controls?

1 Answers   Wipro,


How to Extract an icon from a .exe or .dll?

1 Answers  


what are the uses of Arrow and Function Keys ?

1 Answers  


Categories