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

VB ActiveX: Create a "drivelist"(D1) box, a "folderlistbox"(FLD1) that changes whenever D1 is changed , and a "FilelistBox"(FIL1) that is populated with the file lists under the selected directory in (D1).The file selected is stored in a variable "filename" along with the path. Question: How to use this activeX control in VC++ to get the selected filename?

0 Answers  


____ property of menu cannot be set at run time.

0 Answers  


Explain what is Visual basic?

0 Answers  


What is the purpose of the DoEvents command?

2 Answers  


WHAT IS DIFFERENCE BETWEEN Message box and image box

13 Answers  






What is meant by Establish Connection in RDO?

0 Answers  


how many no of controls in form?

16 Answers   AIMS, Airex Logistics,


Whether HTML supports multimedia: and document links?

0 Answers  


what is the difference between vb and vb.net

2 Answers  


Is it possible to call backend procedures with ADO control?

1 Answers   TCS,


What is the different between Microsoft ODBC Driver and Oracle OBDC Driver?

1 Answers  


What do you know about chaining views.

0 Answers  


Categories