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 Types of Modal windows in VB?

1 Answers  


What is binding? What are types of binding?

3 Answers   Primus Global,


Whats the advantages/disadvantages of using datacontrol vs DAO/ADO/RDO?

1 Answers   L&T, MAHINDRA, Teledata,


How many ways we can access file using VB?

0 Answers  


What are the new events in textbox that has been included in VB ?

0 Answers  






How many no of controls are there in form?

3 Answers   Satyam,


Is it possible to set a shortcut key for label?

0 Answers  


What is form in visual basic?

0 Answers  


What do you mean by ADO?

5 Answers   King Indus Software Solutions, TCS,


what are the Types of LockEdits in RDO?

0 Answers  


How would you add elements in TreevieW Control?

0 Answers  


What is data control in vb?

0 Answers  


Categories