How to get Item.LookupData and SelectedValue (as integer) of an FMX TComboBox at runtime?
问题 There is a ComboBox on the FMX Form. It is binded with a datasource (table that has an id -integer and speciality - varchar fields) in the following manner- object LinkFillControlToField1: TLinkFillControlToField Category = 'Quick Bindings' Control = ComboBox1 Track = True FillDataSource = BindSourceDB1 FillValueFieldName = 'id' FillDisplayFieldName = 'speciality' AutoFill = True BufferCount = -1 AutoBufferCount = False FillExpressions = <> FillHeaderExpressions = <> FillBreakGroups = <> end