selina
9 years agoOccasional Contributor
FireEvent in Flex Combobox
There is Flex Combobox in my app with Children objects Edit and ListItems. I can use Combobox.ClickItem to select the item I want, But it cannot fire event on change to trigger my page get data. So I simulate Keys and Mouses actions like below, but it still cannot trigger event. Anyone has ideas? If I click use real mouse,the event can be trigger. It's weird.
softwareIDEdit.Click
mockDDIPage.Keys "^a"
mockDDIPage.Keys "[Del]"
mockDDIPage.Keys(softwareID)
mockDDIPage.Keys "[Enter]"
call softwareIDEdit.DblClick(140, 13)