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

What are the different cursor types that can we create using ADO Recordset? Difference between these cursor types?

2 Answers  


How can you get selected file from file system Control?

0 Answers  


Explain about an event-driven programming language?

0 Answers  


What does DoEvents do?

2 Answers  


How do I prevent multiple instances of my program?

0 Answers  


To find the current recordposition in data control.

0 Answers  


Draw Sequence Modal of DAO and Explain?

0 Answers  


What is the difference between Msgbox Statement and MsgboxQ function?

1 Answers  


what is the DIFF between Image and Picture box controls

3 Answers   CybAge,


What is data control in vb?

0 Answers  


how can i connect the samble database that comes with vb-6 (biblio.mdb) to a datagrid using code? ie what code i have to put in load event

1 Answers  


What is ado in vb.net?

0 Answers  


Categories