HasMailManager

Applies to

Window controls

Description

This property is valid for .NET Web Forms applications only when the PBMailManager global property is set to true. The global property allows the Mail Profile Manager icon to display on all window forms in your Web Forms applications. The Mail Profile Manager icon gives users access to a mail profile manager on the Web Forms server.

By default, the HasMailManager property is set to true and the PBMailManager is set to false. When you change the PBMailManager global property to true, all window forms display the Mail Profile Manager icon unless you set the HasMailManager for a particular window to false.

NoteIcon display in MDI Web Forms applications In MDI applications, manager icons display on the frame window. To hide the Mail Profile Manager icon when the PBMailManager global property is set to true, you must set the HasMailManager property of both the frame and the active sheet to false.

Usage


In scripts

You must surround the HasMailManager property in a conditional compilation code block for Web Forms applications:

#if defined PBWEBFORM then
   w_mywindow.HasMailManager = false
#end if