【发布时间】:2014-11-19 23:15:58
【问题描述】:
foxpro 9.0中如何获取选择值(两个字段绑定:name(0)和id(1)),combobox的选择索引?
【问题讨论】:
标签: combobox visual-foxpro selectedvalue
foxpro 9.0中如何获取选择值(两个字段绑定:name(0)和id(1)),combobox的选择索引?
【问题讨论】:
标签: combobox visual-foxpro selectedvalue
thisform.yourCombobox.Value
“Value”属性将基于组合框的“BoundColumn”。
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
【讨论】: