|
Summary
Specifies whether the application should set event parameters or their corresponding properties during an OnAppend event. This is used by the J++ programming environment.
Description
The UseProperty property is used to specify whether the application should set event parameters or their corresponding properties during certain events.
In the OnAppend event the UseProperty property specifies whether to use the Buffer and Length parameters, or the SendData property.
The UseProperty property should generally be set to False, and event parameters should be used in most cases. It should only be set to True in environments like Visual J++, where the control is
unable to get the new value of the event parameter, This is because Visual J++ has to use VBScript to catch and pass the ActiveX events, and VBScript is unable to pass back parameters to the control.
This property should be set before attempting to append message. This property can be read at any time. The default value for this property is False.
Example
Imap.UseProperty = False InCommand = True m_initAppend = True Result = Imap.Append (m_flag, -1, MsgDate, DestMailbox) List.Text =
List.Text + Chr(13) + Chr(10) + Imap.Reply InCommand = False
|