我有一个combobox
,其中包含以下手动输入的值:Active
,Inactive
。但是,我想在数据库中仅保存值A
或I
。我如何通过livebindings
?
答案 0 :(得分:0)
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?