Forum Discussion

mohamed_mansoor's avatar
mohamed_mansoor
Occasional Contributor
11 years ago

How to select the particular item in COMBOBOX1 if the window have three combo boxes

Hi All,



My application has one window it has a three combo boxes 

I want to select particular itme in combobox1-"Item1"



similaryly,

Combobox2="Item7"

Combobox3="Item19"



Each combo box has more values i used the below code to get the combo box1 object using the belwo code




function GetCombobox1object()


{


      TraceMode=new Array("Bypass","Continuous","Normal");


      for(i=0;i<3;i++)


      {


        TPClk=eval(AdvanceTraceConWinTabFolder).FindChild("wText",TraceMode,24);


        if(TPClk.Exists)


        {


        Log.Message("Perivious state of trace port cloking mode is" +TraceMode);


         break;


        }


      }


 


return TPClk;


}



My question i want to access rest of combo boxes object using above code or is there any easy way to identify the cobobox object so that i can select easily my item 






Thanks and Regadrs,

Mohamed Mansoordeen.M









No RepliesBe the first to reply