What is the correct answer?


If a button click event is to be fired when the user press the 'Esc' key, set the buttons name against forms _________ property

A. DefaultButton

B. AcceptButton

C. DialogResult

D. CancelButton

Correct Answer :

D. CancelButton

Related Questions

If a Class in inherited, its constructor is inherited automatically and… Data from DataSet is accessed using34 Two commands can be written in the same line using What cannot be done if the table has no primary key If a button click event is to be fired when the user press the 'Esc' key,… If Scrollbars property of a TextBox is set to Hortizontal and the WordWrap… A single OLEDBAdapter can have many DataSets A user wants that custom colors are visible when the Color Dialog Box… _________ and _____________ combines to make a KeyPress event /*1. Class C2. public mustinherit sub abc()3. msgbox("Base Class")4. end… To redimension an array with its previous values intact use ___________… In reports ___________ property help to assign user-defined criteria In HelpProvider ___________ property is used to mention the help file… If a form call another form and the caller form is closed through code,… To display multiple columns in ListView the View property must be set… This view is not present in VB.NET Class ccpublic _________ I as stringend classButton1_Clickcc.I=100 The EventLog's ________ method is used to write an entry to a log file If a Label control's AutoSize property is set to True, can you resize… To retrieve the default path of the project use Default event handler of Splitter is dim arr(10) as string, the max index of the array is To use HelpProvider, the following properties of the form needs to be… A function can have multiple return statements This view pops up if "Ctrl+F1" is pressed A DataSet can hold multiple tables even if there are similar fields The default location of the exe file of your solution is Use a _________ statement to make Visual Basic object the default object… Dim S as Integer=10Text1=SMsgbox(Text1.Text) In OLEDB database can be accessed without using DataSet