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

How would you attach pictures in Treeview Control?

1632


I have several megabytes of memory. Why do I get an "out of memory" error?

1205


How would you map properties to controls by using ActiveX Control Interface Wizard?

1815


How do I make my applications screen-resolution independent?

1108


What is hyperlink?

1708






What are the different procedures associated with the object?

692


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

1640


How can you save and Get data from Clipboard/ Recordset object consists what?

648


How do I get a bitmap picture in a field in an Access database?

985


What is the difference between change event in normal combobox and dbcombobox?

1741


How would you create your application in DHTML?

1619


What is DBSqlPassThrough?

2761


Types of DBCombo boxes

1671


How do I call a DLL?

1135


what are the Types of cursors in RDO?

1955