Unit rTip

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

rTip provides "Tip of the day" dialog or OK/Cancel dialog with "Donīt show next time" function.

Updated version compatible with Delphi2010+.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TrTipForm "Tip of the day" dialog or OK/Cancel dialog with "Donīt show next time" function

Functions and Procedures

procedure ShowTip(FormatedInfo: string; Id: string; PropSaveFile: TPropSaveFile);
procedure ShowTipEx(FormatedInfo: string; Id: string; PropSaveFile: TPropSaveFile; OnAnchorClick: TAnchorClickEvent; AlwaysShow: boolean);
function ShowTipQ(FormatedQuestion: string; Id: string; PropSaveFile: TPropSaveFile): integer;
function ShowTipQEx(FormatedQuestion: string; Id: string; PropSaveFile: TPropSaveFile; OnAnchorClick: TAnchorClickEvent; AlwaysShow: boolean): integer;
procedure EnableAllTips(PropSaveFile: TPropSaveFile);

Variables

rTipForm: TrTipForm;

Description

Functions and Procedures

procedure ShowTip(FormatedInfo: string; Id: string; PropSaveFile: TPropSaveFile);

show OK dialog, if "Donīt show next time" has been checked already dialog is not shown, PropSaveFile and ID is used for saving of "Donīt show next time"

procedure ShowTipEx(FormatedInfo: string; Id: string; PropSaveFile: TPropSaveFile; OnAnchorClick: TAnchorClickEvent; AlwaysShow: boolean);

show OK dialog, if "Donīt show next time" has been checked already dialog is not shown, PropSaveFile and ID is used for saving of "Donīt show next time", OnAnchorClick is callback procedure used if user click to anchor in TrHTMLLabel AlwaysShow overwrite "Donīt show next time"

function ShowTipQ(FormatedQuestion: string; Id: string; PropSaveFile: TPropSaveFile): integer;

show OK Cancel dialog, if "Donīt show next time" has been checked already dialog is not shown, PropSaveFile and ID is used for saving of "Donīt show next time"

function ShowTipQEx(FormatedQuestion: string; Id: string; PropSaveFile: TPropSaveFile; OnAnchorClick: TAnchorClickEvent; AlwaysShow: boolean): integer;

show OK Cancel dialog, if "Donīt show next time" has been checked already dialog is not shown, PropSaveFile and ID is used for saving of "Donīt show next time", OnAnchorClick is callback procedure used if user click to anchor in TrHTMLLabel AlwaysShow overwrite "Donīt show next time"

procedure EnableAllTips(PropSaveFile: TPropSaveFile);

delete all "Donīt show next time" settings in PropSaveFile

Variables

rTipForm: TrTipForm;

Public declarations

Author

Created

Jan 2006

Last Modified

Jan 2013


Generated by PasDoc 0.13.0 on 2017-06-17 14:57:07