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

Types of LockEdits in DAO? 51 .Types of Recordsets.

0 Answers  


Does VB support object-oriented concepts? Explain..

3 Answers  


What is the benefit of wrapping database calls into MTS transactions?

1 Answers  


What is Friend Variable?

1 Answers  


What is DDE?

0 Answers  






Explain Get, Let, Set Properties.

1 Answers  


Whether HTML supports multimedia: and document links?

0 Answers  


Is there any way to pass a variable to a form apart from using global variables?

0 Answers  


Is the Variant type slower than using other variable types?

0 Answers  


To find the current recordposition in data control.

0 Answers  


which property is used to lock a textbox to enter data?

4 Answers  


What is the purpose of the DoEvents command?

2 Answers  


Categories