Function Show2( _ ByVal Options As System.Integer _ ) As System.Integer
Dim instance As IPropertyManagerPage2 Dim Options As System.Integer Dim value As System.Integer value = instance.Show2(Options)
System.int Show2( System.int Options )
System.int Show2( & System.int Options )
Options as defined in swPropertyManagerPageShowOptions_e
Status as defined by swPropertyManagerPageStatus_e
If another PropertyManager page is already displayed and that page is receptive to being stacked upon, then setting swPropertyManagerPageShowOptions_e to swPropertyManagerPageShowOptions_StackPage will stack your PropertyManager page on it. When the user closes your PropertyManager page, the previous PropertyManager page is shown automatically.
NOTE: Typically SolidWorks does not stack PropertyManager pages, and in the couple instances where SolidWorks does, it is an agreement between the PropertyManager pages. The first PropertyManager page agrees that it can be stacked upon and allows the other known PropertyManager page to stack upon it. The mechanism is not a case of one PropertyManager page allowing any other generic PropertyManager page to be stacked upon it. It is assumed that the two pages are in agreement about what is going on and deal with it.
Using the API to stack ProertyManager pages is the same -- an add-in is the owner of both PropertyManager pages and knows what is going on and deals with it. The concept of an API PropertyManager page wanting to know if it can stack upon the currently displayed PropertyManager page, whatever it might be, does not work because of the assumption that the first API PropertyManager page has knowledge of and allows another API PropertyManager page to stack on it.
If the PropertyManager page is locked, then stacking PropertyManager pages is not allowed. A PropertyManager page is locked if the Options argument of ISldWorks::CreatePropertyManagerPage or ISldWorks::ICreatePropertyManagerPage was set to swPropertyManagerOptions_LockedPage when the PropertyManager page was created.
Provide feedback on this topic
SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.
* Required
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.
Web Help Content Version: API Help (English only) 2013 SP05 To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help. To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.