Sign in Join
FPDoc Onlineexperiment

TDBLookupListBox.IsUnbound function

Member of TDBLookupListBoxprotectedIn unit DBCtrls

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

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.