Is there a function in C# that can return the Name of the Focused element and display it in a text-box or something?
Worked for me in c#.
string name = ActiveForm.ActiveControl.Name;