Class TOptionsBookmarks

Unit

Declaration

type TOptionsBookmarks = class(TPersistent)

Description

setting for TrDBGrid row bookmarks, part of TOptionsEx2

Hierarchy

  • TPersistent
  • TOptionsBookmarks

Overview

Methods

Public function IsBookmarksUsed: boolean;
Public function GetIdValue_ActiveRec: variant;
Public function AddBookmark_ActiveRec(BookmarkNumber: integer): boolean;
Public function AddBookmark_IdValue(BookmarkNumber: integer; IdValue: variant): boolean;
Public function GetBookmarkNumber_ActiveRec: integer;
Public function GetBookmarkNumber_IdValue(IdValue: variant): integer;
Public function GetBookmark_ActiveRec: TBookmarkData;
Public function GetBookmark_IdValue(IdValue: variant): TBookmarkData;
Public function GetBookmark_Number(BookmarkNumber: integer): TBookmarkData;
Public procedure ClearBookmarks;
Public function GotoBookmark(BookmarkNumber: integer): boolean;

Properties

Published property Active: boolean read FActive write SetActive default false;
Published property IdFieldName: string read FIdFieldName write FIdFieldName;
Published property CircleColor: TColor read FCircleColor write SetCircleColor default clRed;
Published property RowBackgroundColor: TColor read FRowBackgroundColor write SetRowBackgroundColor default clNone;

Description

Methods

Public function IsBookmarksUsed: boolean;
 
Public function GetIdValue_ActiveRec: variant;
 
Public function AddBookmark_ActiveRec(BookmarkNumber: integer): boolean;
 
Public function AddBookmark_IdValue(BookmarkNumber: integer; IdValue: variant): boolean;
 
Public function GetBookmarkNumber_ActiveRec: integer;
 
Public function GetBookmarkNumber_IdValue(IdValue: variant): integer;
 
Public function GetBookmark_ActiveRec: TBookmarkData;
 
Public function GetBookmark_IdValue(IdValue: variant): TBookmarkData;
 
Public function GetBookmark_Number(BookmarkNumber: integer): TBookmarkData;
 
Public procedure ClearBookmarks;
 
Public function GotoBookmark(BookmarkNumber: integer): boolean;
 

Properties

Published property Active: boolean read FActive write SetActive default false;

activate bookmarks

Published property IdFieldName: string read FIdFieldName write FIdFieldName;

FieldName with unique id value for each record

Published property CircleColor: TColor read FCircleColor write SetCircleColor default clRed;

color of circle around bookmark number in fox col

Published property RowBackgroundColor: TColor read FRowBackgroundColor write SetRowBackgroundColor default clNone;

background color for record with defined bookmark


Generated by PasDoc 0.15.0.