Topic Path: Symbol Reference > Classes > TIdNNTP Class > TIdNNTP Events > OnNewNewsList Event
ContentsIndexHome
PreviousUpNext
TIdNNTP.OnNewNewsList Event

Event handler signalled on receipt of values in the new articles list.

property OnNewNewsList: TIdEventNewNewsList;
Parameters 
Description 
AMsgID 
Message identifier for the article.
 
ACanContinue 
False to stop new article retrieval. 

OnNewNewsList is a TEventNewNewsList property that represents the event handler signalled on receipt of values in the new articles list from GetNewNewsList

OnNewNewsList is used when GetNewNewsList is called without a TStrings argument used as the destination of the new article listing. OnNewNewsList will be triggered once for each article received in a response line from the NNTP server in GetNewNewsList

Applications must assigned a procedure to the event handler when TStrings is not used to store the new article listing. If the event handler is unassigned, an EIdNNTPNoOnNewNewsList exception will be raised. The event handler can be used to update display or storage aspects of the NNTP client when new articles message identifiers are received. 

Setting ACanContinue to False stops retrieval of the new article list.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.