Typing, language and data Registered only
Most Delphi business forms sit on a TDataSet, and wiring every editor by hand is repetitive. Ten data aware controls bind straight to a field through DataSource and DataField: a date picker, a time picker, a spin edit, a rating, a range slider whose second thumb binds EndDataField, a button edit, a masked edit that takes the EditMask of its field, a currency edit, a memo and a lookup edit that fills its multi-column list from a second dataset through ListSource, KeyField and ListField, like TDBLookupComboBox. Null fields show empty when AllowEmpty is on, and a required field reports an empty value to the validator. They bind through TsgcEditorFieldLink, which uses only the DB unit, so the FireMonkey versions need no LiveBindings. In .NET the WinForms editors bind a field through DataSource, DataMember and DataField with a BindingSource, a DataTable, a DataView or a List, and the WPF and Avalonia value properties bind two way. Drop them on an existing form and the dataset logic you already have keeps working unchanged.
TsgcVCLDBDatePicker, TsgcVCLDBTimePicker, TsgcVCLDBSpinEdit
TsgcVCLDBRating and TsgcVCLDBRangeSlider
TsgcVCLDBButtonEdit, TsgcVCLDBMaskEdit, TsgcVCLDBCurrencyEdit, TsgcVCLDBMemo, TsgcVCLDBLookupEdit
DataSource, DataField, EndDataField; lookup lists through ListSource, KeyField, ListField
- WinForms:
DataSource, DataMember, DataField; WPF and Avalonia: value properties bind two way
In the .NET Community packages the WinForms editors have no DataSource, DataMember and DataField; WPF and Avalonia binding and the lookup ItemsSource work in both editions.
Read the help topic