SetDisableFlags method |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration procedure SetDisableFlags(Editor: Integer; Flags: Integer); Description Using the method SetEnableFlags it is possible to modify the editor #1 or #2: Certain options which are active by default can be deactivated:
wpoptNoEdit = 1; // editor is readonly wpoptNoSelect = 2; // selection not visible wpoptNoFileDrop = 4; // Don't accept image files from Explorer wpoptNoDragDrop = 8; // Disable Drag&Drop wpoptNoCopy = 16; // Disable Copy wpoptNoPaste = 32; // Don't allow any paste wpoptNoPasteIMG = 64; // Don't allow paste of images wpoptNoPasteRTF = 128; // Don't allow pase of RTF (or HTML) wpoptNoEditHeader= 512; // Don't switch to header/footer to edit wpoptNoResizeImages = 1024; // User cannot resize images wpoptNoResizeTables = 2048; // User cannot move or resize tables wpoptNoResizeColumns = 4096; // User cannot resize columns wpoptNoResizeRows = 8192; // User cannot resize Rows
Note: The interface IWPMemo also includes the method SetBProp - this method allows it to set docends of other flags. Please see online reference. |