gpt4 book ai didi

delphi - 通过LiveBindings的Delphi Berlin FMX组合框值

转载 作者:行者123 更新时间:2023-12-03 17:52:38 25 4
gpt4 key购买 nike

我有一个combobox,其中包含以下手动输入的值:ActiveInactive。但是我只想在数据库中保存值AI。如何通过livebindings执行此操作?

最佳答案

FillDataSource = BindSourceDB1
FillValueFieldName = 'value' // A and I would be in this field
FillDisplayFieldName = 'name' // Active and Inactive would be in this field


How to get Item.LookupData and SelectedValue (as integer) of an FMX TComboBox at runtime?

关于delphi - 通过LiveBindings的Delphi Berlin FMX组合框值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42636618/

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