gpt4 book ai didi

combobox - Foxpro 组合框获得选定的值?

转载 作者:行者123 更新时间:2023-12-05 05:26:15 27 4
gpt4 key购买 nike

如何在foxpro 9.0 中获取选定值(两个字段绑定(bind):name (0) 和id(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

关于combobox - Foxpro 组合框获得选定的值?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27028880/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com