Set/reset LogStatusBar environment variable when needed


Class LogHelper
	Private v As Variant
	
	Sub New
		Dim ns As New NotesSession 
		
		v= ns.GetEnvironmentString("LogStatusBar", True)
		Call ns.SetEnvironmentVar("LogStatusBar", "1", True)
	End Sub
	
	Sub Delete
		Dim ns As New NotesSession 
		
		Call ns.SetEnvironmentVar("LogStatusBar", v, True)
	End Sub
End Class
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...