如何获取选定的值(两个字段绑定:名称(0)和id(1)),foxpro 9.0中组合框的选定索引?
thisform.yourCombobox.Value
“值”属性将基于组合框的“边界列”中的任何内容。
So, if for example your RowSource is "alias.ColumnX,ColumnM"
and the RowSourceType is "6=Fields" from a table
and the BoundColumn is 2 (meaning the second column in the list)
那么“值”将是“ ColumnM”的值,无论是数字,字符还是列表示的内容。
If the "BoundColumn" property was 1,
the "Value" would have the value from "ColumnX" from the table
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句