What is the use of Active Control Property?



What is the use of Active Control Property?..

Answer / sundarraj_v83

Active Control Property is used to know which one control is
currently focused. It has so many use,

For example,
My cursor is focusing text box 'TextBox1' and the function is
running, where I would like to know the active (focused)
control name, The following code will help you,

strMyControl = ActiveControl.Name

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More Visual Basic Interview Questions

What are the types of Error?

1 Answers   IBM,


What is ActiveX Dll and ActiveX Exe?

0 Answers   TCS,


What is the difference between early binding and late binding?

2 Answers   TCS,


How many max. number of controls can place in one form (especially visual basic form)?

6 Answers   Satyam,


What is the error message that you would get if you try to use a recordset that is not initialized to anything?

2 Answers  






What is binding? What are types of binding?

3 Answers   Primus Global,


What are the different types of Dialog Box?

2 Answers   Apollo, ATTC,


What is the difference between Single and Double in VB?

4 Answers  


What about DLL calls that require callbacks?

0 Answers  


What is ODBC Direct and Microsoft Jet Database Engine ?

0 Answers  


What is the use of Active Control Property?

1 Answers  


What does Query_unload event do in VB? Why we need Form _unload event?

3 Answers  


Categories