Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combo Box Selection working but not being recognized by app
#1
Hi Gintaras,
I am using the Combo item select function on an app. Onscreen the combobox selection shows up in the display field but the app still thinks the old combo box selection is still active. I can only get it to update by actually using my mouse to pull down the combo box and select it manually.
I even tried to do that mouse step by QM after the combobox selection but it doesn't work either.

Macro Macro48
Code:
Copy      Help
int w=win("SampleApp" "WindowsForms10.Window.8.app.0.33c0d9d")
Acc a.Find(w "COMBOBOX" "" "class=WindowsForms10.COMBOBOX.app.0.33c0d9d" 0x1004)
a.CbSelect(0)

Any reasons why an app will not register the combobox selection change, even if it is displaying it as changed?

Thanks,
S
#2
Some combo box controls don't work without showing dropdown list. Also may not work when using keyboard. CbSelect can use various methods of selecting: with or without dropdown, with keyboard, etc.
#3
Did you try just using a simple....

Macro Macro231
Code:
Copy      Help
CB_SelectItem child("") 0


Forum Jump:


Users browsing this thread: 1 Guest(s)