TUrlHistory
NewsProductsDownloadsSupportForumCredits

 

[Home][Support][History][TUrlHistory]


History Demo 1History Demo 2History Demo 3UrlHistoryStgTHistoryListViewTHistoryMenuTUrlHistory

 

UrlHistory:

  TUrlHistory

 

 

According to Microsoft IUrlhistoryStg require IE 5.5. and Windows Millenium or Windows 2000.

Must of the functions works well also with Win98 and IE 5.0.

TUrlHistory is a wrapper for the interfaces in urlhist.h. Read the info about IUrlHistoryStg and the component should be easy to use.

 

Properties:

Search
Enter url or part of the Url or Title you want to search for in UrlHistory.

SearchField
seTitle : Search in page-titles.
seURL : Search URL
seBoth: Search Url and Title. (Default)

SortField
Select Sortfield for the results.

SortDirection
sdAscending/sdDescending


Events:

OnAccept(Title, Url: String; LastVisited,
LastUpdated, Expires: TDateTime; var Accept: Boolean);
Called before entry is accepted. Perform more filtering here.

OnDelete(Title, Url: String; LastVisited,
LastUpdated, Expires: TDateTime; var Delete: Boolean);
Called before an entry is deleted.

Methods:

Function Enumerate: Integer;
Start enumerating the urlhistory.
Number of entries as result.

Function DeleteEntries;
Delete entries in Urlhistory. Set filter in OnDelete.

function ClearHistory;
Delete all entries in Urlhistory without warning.

function QueryUrl(Url: PwideChar; Entry : TEntry): boolean;
Return TRUE if Url has been visited by current user.

function AddUrl(Url, Title: PWidechar);
Add Url to urlhistory;

Function DeleteUrl(Url : PWidechar);
Delete Url fra Urlhistory.

 

 

Small demo included.

[Previous][Up]

Created by
Per Lindsų Larsen
 

Copyright (c) 2005 bsalsa productions. All rights reserved.

bsalsa@bsalsa.no-ip.info