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

TDBImage.AutoDisplay

AutoDisplay - if True, automatically displays when focus is given.

Declaration

Source position: dbctrls.pp line 1215

published property TDBImage.AutoDisplay : Boolean
  read FAutoDisplay
  write SetAutoDisplay
  default True;

Description

AutoDisplay is a Boolean property which indicates if the graphic content for the control is automatically displayed when values become available in the linked dataset. AutoDisplay is used in the implementation of the DataChange method to determine if LoadPicture is called.

Setting the property to True calls the LoadPicture method to retrieve the graphic content from the field in DataField.

The default value for the property is True.

See also

TDBImage.LoadPicture

  

Loads the graphic content for the control from a field in the linked dataset.

TDBImage.DataChange

  

Performs actions needed when the content in the linked dataset has been changed.

TDBImage.Field

  

Definition for the field in the linked dataset where the control value is stored.

TDBImage.DataField

  

Contains the name of the field with the value for the control.

TDBImage.DataSource

  

Provides access to the dataset with content for the control.

TFieldDataLink

  

Maintains an association between a control, an action, and a field in a linked dataset.


Version 4.0 Generated 2025-05-03 Home