Set FOCUS on Combo Box
-
Hello 1) ComboBox is Visible False 2) When User Click on TextBox, i am Changing the Visible State of Combo to True 3) Now I am trying to Set Focus on Combo Box But It will not doing so. --- cmbCity.Focus(); Any Way to Solve my Problem
Best Regards, Chetan Patel
-
Hello 1) ComboBox is Visible False 2) When User Click on TextBox, i am Changing the Visible State of Combo to True 3) Now I am trying to Set Focus on Combo Box But It will not doing so. --- cmbCity.Focus(); Any Way to Solve my Problem
Best Regards, Chetan Patel
Focus()
should work. You might be doing something else wrong. Which event you are handling for textbox?All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions