Make ComboBox DropDown visible in code
Posted: Fri Oct 16, 2015 2:54 pm
How do I make the DropDown part of a ranorex.ComboBox visible.
This is very frustrating.
I can open the combo box on screen by clicking the down arrow, but it closes as soon as I touch anything else.
I tried clicking the arrow in code, but all that happens is the control changes color:
I want to be able to search the contents of the combo box, at the moment it can't see them.
Code: Select all
Ranorex .ComboBox comboBox=repo.Form365AgilePortal.FormsContainer.FieldPropertiesForm.AnswerTypeComboBox;
if(!comboBox .DropDownVisible )
{
// .. to go here ...
}
I can open the combo box on screen by clicking the down arrow, but it closes as soon as I touch anything else.
I tried clicking the arrow in code, but all that happens is the control changes color:
Code: Select all
repo.Form365AgilePortal.FormsContainer.FieldPropertiesForm.BtnArrowBackground1.Click ();