/ Forums / Advansys Formativ / Creating Solutions with Formativ / Remove Right-click menus / Reply To: Remove Right-click menus
December 11, 2003 at 3:35 pm
#6804
Context menu items are not supported by RemoveMenuItem. However, certain commands can be disabled by blocking their associated tokens (if available), as in the following code sample.
dim iText iText = "Disable (Document | Check In...) command from GroupWise?" if (msgbox(iText, vbYesNo, "Enable/disable menu item") = vbYes) then ' 106 is the token ID for DocumentCheckInDlg() GroupWise.DisableCommand(106) else call GroupWise.EnableCommand(106) end if
We do not know of a way to hide the Documents folder. It may be possible to remove it using the Folder object Delete method, but we do not recommend deleting default GroupWise folders; it might have unpredictable or very nasty results.
Advansys Support
[This message was edited by Support 3 on December 11, 2003 at 04:11 PM.]