DBActns.TDataSetFirst

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From DBActns.pas

TDataSetFirst = class(TDataSetAction)


Unit: DBActns

Type: class

Inherited Class Members: DBActns.TDataSetFirst Members

C++ Information

From DBActns.hpp

TDataSetFirst = class(TDataSetAction)


Unit: DBActns

Type: class

Inherited Class Members: DBActns.TDataSetFirst Members

Class Constructors & Destructors: DBActns.TDataSetFirst Constructors

Description

TDataSetFirst moves a target dataset to its first record.


Add TDataSetFirst to an action list to allow users to navigate to the first record in a dataset. Controls such as menu items and tool buttons linked to this action cause the target dataset to move to the first record.

TDataSetFirst is designed to work with a TDataSource component as its target. You can explicitly provide this target by setting the DataSource property, or you can allow the action to infer the data source from an active data-aware control. TDataSetFirst automatically disables itself if it does not have a target data source attached to an active dataset that is not already on the first record.

See Also

Personal tools
Translations
Newest Version