in vb6.0 can we use function keys (F1 to F12) in
form_keypress event in a form which contains commandbutton
(s) control? if yes, then explain me how it is possible.
Thanks.

Answers were Sorted based on User's Feedback



in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains comm..

Answer / narayan

In VB6.0, we can use function keys (F1 to F2) in
Form_KeyCode event in a form.
We just need to set KeyPreview property of that form as
True.

Thank you,

Is This Answer Correct ?    22 Yes 4 No

in vb6.0 can we use function keys (F1 to F12) in form_keypress event in a form which contains comm..

Answer / hari

F5- key to run the project, F4- key to view the properties window. so f1 to f12 functions key's to describe the project. command button method is doesn't describe.

Is This Answer Correct ?    6 Yes 10 No

Post New Answer

More Visual Basic Interview Questions

Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?

0 Answers  


How do I get my application on top?

0 Answers  


What does Query_unload event do in VB? Why we need Form _unload event?

3 Answers  


which arguments will be used to run a executable program in shell function ?

1 Answers  


What is the use of Visual Basic Document file?

0 Answers  






What is the use of debug Window?

0 Answers  


What is the default property of datacontrol?

2 Answers   VSoft,


what is the Difference between Recordset and Querydef?

0 Answers  


Is visual basic case sensitive?

0 Answers  


Which type of object requires this object?

0 Answers  


How many types of API functions are availble in VB?

1 Answers  


How much gain in performance will I get if I write my number crunching routines in C instead of Visual Basic?

0 Answers  


Categories