Enum PmpOptions
- Namespace
- Hymma.Solidworks.Addins
- Assembly
- Hymma.Solidworks.Addins.dll
Options for PropertyManager pages. Bitmask.
[Flags]
public enum PmpOptions
Fields
AbortCommands = 1024Abort active command when PropertyManager page is displayed
CanEscapeCancel = 4096When a user presses the Esc key, the PropertyManager page will close the page; this enumerator only applies to pages that do not contain selection boxes
CancelButton = 2include cancel button
CloseDialogButton = 8include close dialog button
DisablePageBuildDuringHandlers = 32768Paint the PropertyManager page after control returns to SOLIDWORKS from the add-in's handler; may help eliminate any flickering of the PropertyManager page of the add-in changes the visibility of numerous controls on the PropertyManager page
DisableSelection = 256disable selection
GrayOutDisabledSelectionListboxes = 65536Controls whether a PropertyManager page should show its disabled selection list boxes so that they appear grayed out by coloring their backgrounds the same color as the divider box background.
Disabled selection list boxes should be hidden; graying them out is an exception to SOLIDWORKS standard practice.
HandleKeystrokes = 8192Enables processing of keystrokes while the PropertyManager page is displayed; disabled by default
LockedPage = 4Specify the Locked option in the Options parameter when you create your PropertyManager page. It is important that when a handler (such as Clicked or Closing) is finished and control returns to SOLIDWORKS that the PropertyManager page is still there. If the PropertyManager page is not there, SOLIDWORKS might crash. Some methods try to close the PropertyManager page, but you can avoid this scenario by creating the PropertyManager page as Locked.
MultiplePages = 16supports multiple tabs, will show arrows on top of property manager page
OkayButton = 1ok or green check mark button
PreviewButton = 128add a preview button, which is an eye on top of the page
PushpinButton = 32add a push pin button
RedoButton = 16384redo button
SupportsChainSelection = 131072If set, then show Select Chain:
on the shortcut menu if a sketch entity is currently selected.- or -
if nothing is selected, but the cursor is over a sketch entity when the right-mouse button was clicked.
- or -
SupportsIsolate = 262144If set, then show Isolate item in right-mouse button menu of assembly components. This option must be used with LockedPage.
UndoButton = 2048undo button
WhatsNew = 512Indicates that you want a What's New button to appear on your PropertyManager page