Why is mHeaderDetails reset in Function QueryClose? mail8.ntf

Show/Hide header details with “Show Details”/“Hide Details” toggle in a Memo (Message) is provided for through the environment variable ‘mHeaderDetails’ in mail8.ntf,but it is reset everytime in the QueryClose function in the ‘CoreEmailClasses’ Script library,

WHY?

Function QueryClose(continue As Integer)

	Dim e As Variant

	Dim v As Variant

	Dim versionNumber As Integer

	Dim foldername As String

	Dim noteid As String

	On Error Resume Next

	

	If  Not Me.m_notememo Is Nothing  Then

		

		Dim headerD As String

		headerD = m_session.getenvironmentstring("mHeaderDetails", False)

		If headerD = "1" Then 

			Call m_session.setenvironmentvar("mHeaderDetails", "")

		End If

		

		......

		......

		......

		......

		......

		......

End Function

Subject: Why is mHeaderDetails reset in Function QueryClose? mail8.ntf

Good question. I find the behavior annoying and will probably modify the mail template to not reset the value.

Which is a better default:

a) When you click “Show Details” it stays that way for all subsequent emails until you click on “Hide Details” on any one of them (in which case that value now sticks).

b) Having to click on “Show Details” every time you open an email.

Choice “a” is better, clearly, because it accommodates the power user without confusing the novice (who only has to click “hide details” once to make it stick for as long as they like).

Is there something I’m missing about this?

Subject: Show Details in Header

Were you able to reset this value ?(will Show Details remain for subsequent Memos that are opened ??)

Thanks !

james_snyder@ca9.uscourts.gov