Hi! 
Without being for "selectedIndex" in comboBox,
How To make in run-time, the comboBox selecting an item, 
with "selectedItem" 

Example:

public function edit() : void{
        txtId.text = dgMarca.selectedItem.idMarca;
        txtDsProd.text = dgMarca.selectedItem.label;

       //It catches the selected value of the Grid and arrow in cb 
        cbCat.selectedItem.idCat = dgMarca.selectedItem.idCat;
}

**In cbCat I have label and idCat as attributes.

Thanks!!


\o/ 

Reply via email to