Internet Direct (Indy)
Home
PreviousUpNext
TIdMailBox.Clear Method

Reset properties of the mailbox to their default values.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.