且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从下拉列表(组合框)中选择值?

更新时间:2022-05-23 22:41:25

Milos,感谢您的帮助,以下代码解决了我的问题.

Milos, Thanks for your help and the below code solved my case.

  ControlClick("Database Select", "", "[Name:db_comboBox]")
  While 1
    Send("{DOWN}")
    $ctext=ControlGetText("Database Select","","[Name:db_comboBox]")
    If $ctext="DB_UKTEST" Then
        ExitLoop
    EndIf
  WEnd