Topic Path: Symbol Reference > Classes > TIdMailBox Class > TIdMailBox Methods > Clear Method
ContentsIndexHome
PreviousUpNext
TIdMailBox.Clear Method

Reset properties of the mailbox to their default values.

procedure Clear; virtual;

Clear is a procedure used to reset properties of the mailbox to their default values. Clear returns the mailbox to the state that exists prior to selection of the current mailbox using an IMAP4 client. Clear resets the following properties to the indicated values: 

 

Property 
Default Value 
'' (empty string) 
'' (empty string) 
Name 
'' (empty string) 
msReadOnly 
maNoselect 
[] (empty set) 
[] (empty set) 

 

Clear also removes the contents of the DeleteMsgs, SearchResult, and MessageList container properties.

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