Class TrBookmarkList

Unit

Declaration

type TrBookmarkList = class(TObject)

Description

class to store list of selected records

Hierarchy

  • TObject
  • TrBookmarkList

Overview

Methods

Public constructor Create(AGrid: TrDBGrid_MS);
Public destructor Destroy; override;
Public procedure Clear;
Public procedure Delete;
Public function Find(const Item: TBookmark; var Index: Integer): Boolean; virtual;
Public function IndexOf(const Item: TBookmark): Integer;
Public function Refresh: Boolean;

Properties

Public property Count: Integer read GetCount;
Public property CurrentRowSelected: Boolean read GetCurrentRowSelected write SetCurrentRowSelected;
Public property Items[Index:Integer]: TBookmark read GetItem;

Description

Methods

Public constructor Create(AGrid: TrDBGrid_MS);
 
Public destructor Destroy; override;
 
Public procedure Clear;
 
Public procedure Delete;

free all bookmarks

Public function Find(const Item: TBookmark; var Index: Integer): Boolean; virtual;

delete all selected rows from dataset

Public function IndexOf(const Item: TBookmark): Integer;
 
Public function Refresh: Boolean;
 

Properties

Public property Count: Integer read GetCount;

drop orphaned bookmarks; True = orphans found

Public property CurrentRowSelected: Boolean read GetCurrentRowSelected write SetCurrentRowSelected;
 
Public property Items[Index:Integer]: TBookmark read GetItem;
 

Generated by PasDoc 0.15.0.