【问题标题】:Foxpro combobox get selected value?Foxpro组合框获取选定值?
【发布时间】:2014-11-19 23:15:58
【问题描述】:

foxpro 9.0中如何获取选择值(两个字段绑定:name(0)和id(1)),combobox的选择索引?

【问题讨论】:

    标签: combobox visual-foxpro selectedvalue


    【解决方案1】:

    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
    

    【讨论】:

      猜你喜欢
      • 2013-08-15
      • 2013-10-27
      • 2011-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多