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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How come I get a "No Current Record" error when I use a a Data Control on an empty table?

1149


When should we use recursive programming?

648


How do you avoid the "Invalid use of null" error when reading null values from a database?

1224


It is possible to access Text (x.txt) files? Explain.

1641


What is ActiveX Document?

1783






What is meant by Establish Connection in RDO?

1773


___ argument can be used to make a menuitem into bold.

1399


How would you use ActiveX Dll and ActiveX Exe in your application?

1614


Explain the differences between ActiveX Dll and ActiveX Exe?

1609


What is rdo in vb?

633


Explain OLE Drag and Drop.

1593


How would you Create a Query Builder and Explain its uses

1558


How do I do Peek and Poke and other low-level stuff?

1067


how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?

2076


what is the Property used to add a menus at runtime?

1722