[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TDBLookupListBox.IsUnbound

Indicates if the control is being used in the "unbound" mode.

Declaration

Source position: dbctrls.pp line 490

protected function TDBLookupListBox.IsUnbound: Boolean;

Function result

True when the control does not store the current selection in the linked dataset.

Description

IsUnbound is a Boolean function which indicates if the control is being used in the "unbound" mode - where either the DataField or DataSource are not assigned for the control. This mode allows the control to synchronize the lookup dataset to the current item selection in the control, but does not post the control value to its linked dataset.

IsUnBound is used in the DoSelectionChange method to determine if the UpdateData method needs to be performed.

See also

TDBLookupListBox.UpdateData

  

Updates the data in the lookup dataset for the control.

TDBLookupListBox.DataField

  

Name for the field in the linked dataset used in the control.

TDBLookupListBox.DataSource

  

Provides access to the linked dataset for the control.

TFieldDataLink.FieldName

  

FieldName - the name of the attached field, stored as a string.

TDataLink.DataSource


Version 4.0 Generated 2025-05-03 Home