Vcl.DBActns.TDataSetPrior

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.DBActns.TDataSetActionVcl.ActnList.TActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDataSetPrior

Delphi

TDataSetPrior = class(TDataSetAction)

C++

class PASCALIMPLEMENTATION TDataSetPrior : public TDataSetAction

Properties

Type Visibility Source Unit Parent
class public
Vcl.DBActns.pas
Vcl.DBActns.hpp
Vcl.DBActns Vcl.DBActns

Description

TDataSetPrior moves a target dataset to the previous record.

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

TDataSetPrior 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. If you set DataSource, do not set it to a data source whose dataset is unidirectional. TDataSetPrior automatically disables itself if it does not have a target data source attached to an active dataset that is not on the first record.

See Also