| Class TMBookmarkList (unit MyDbgrids) |
TObject
| Constructors |
constructor Create(AGrid: TMCustomDBGrid);| Functions |
procedure Clear;
procedure Delete;
destructor Destroy;
function Find(const Item: TBookmarkStr; var Index: Integer): Boolean;
function IndexOf(const Item: TBookmarkStr): Integer;
function Refresh: Boolean;
function Compare(const Item1, Item2: TBookmarkStr): Integer;
function CurrentRow: TBookmarkStr;
procedure LinkActive(Value: Boolean);
function GetCount: Integer;
function GetCurrentRowSelected: Boolean;
function GetItem(Index: Integer): TBookmarkStr;
function Insert(const Item: TBookmarkStr): Integer;
procedure SetCurrentRowSelected(Value: Boolean);
procedure StringsChanged(Sender: TObject);| Properties |
property Count : Integer
property CurrentRowSelected : Boolean
property Items : TBookmarkStr| Events |
| Variables |
FCache : TBookmarkStr;
FCacheFind : Boolean;
FCacheIndex : Integer;
FGrid : TMCustomDBGrid;
FLinkActive : Boolean;
FList : TStringList;| Constructors |
constructor Create(AGrid: TMCustomDBGrid);TBookmarkList
| Functions |
procedure Clear;
procedure Delete;free all bookmarks
destructor Destroy;
function Find(const Item: TBookmarkStr; var Index: Integer): Boolean;delete all selected rows from dataset
function IndexOf(const Item: TBookmarkStr): Integer;
function Refresh: Boolean;
function Compare(const Item1, Item2: TBookmarkStr): Integer;shortcut to grid.datasource...
function CurrentRow: TBookmarkStr;
procedure LinkActive(Value: Boolean);
function GetCount: Integer;
function GetCurrentRowSelected: Boolean;
function GetItem(Index: Integer): TBookmarkStr;
function Insert(const Item: TBookmarkStr): Integer;
procedure SetCurrentRowSelected(Value: Boolean);
procedure StringsChanged(Sender: TObject);| Properties |
property Count : Integerdrop orphaned bookmarks; True = orphans found
property CurrentRowSelected : Boolean
property Items : TBookmarkStr| Events |
| Variables |
FCache : TBookmarkStr;
FCacheFind : Boolean;
FCacheIndex : Integer;
FGrid : TMCustomDBGrid;
FLinkActive : Boolean;
FList : TStringList;