问题一 combobox 通过type类型,如下代码,通过选取name名称(改变combobox的名称)得到 其Id

Type User
    id As Integer
    userName As String
End Type

解决方法:

通过 combbox的click方法,改变combobox的text属性时,得到listIndex,然后通过listindex,对应type类型的数组就可以得到Id。

 问题二 combobox 不能编辑只能通过下拉选择

解决:设置Style 为 2-DropDown List

相关文章:

  • 2021-06-30
  • 2021-09-27
  • 2021-10-22
  • 2022-12-23
  • 2021-09-21
  • 2021-09-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-10
  • 2021-11-11
  • 2021-09-09
  • 2021-09-10
相关资源
相似解决方案