What is the use of Active Control Property?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shortcut menu and explain "The ole control's shortcut menu".

550


Is it possible to change menu runtime using API? If yes? Specify the function names.

1537


Data Control missing from toolbox when I use VB under NT3.5. Why?

920


What is the-use of property page Wizard in ActiveX Control?

1538


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

1112






How would you Create a Query Builder and Explain its uses

1436


How do I do drag & drop between applications?

983


Is there any Edit method in ADO Data Access method?

1514


what are the Types of cursors in RDO?

1862


What is file in vb?

493


How do you change the icon and otherwise manipulate the DOS box?

1091


Explain about conditional operators?

562


1s it posible to Create Tables Through Querydef?

1703


How do I add a form in visual basic?

508


by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.

1702