AnsweredAssumed Answered

disabling selection box in property manager page

Question asked by Matthew Wynn on Aug 8, 2012
Latest reply on Sep 7, 2012 by Matthew Wynn

I have a property manager page (PMP) with a selection box (for solid bodies)  that I would like to enable and disable when the page is not being shown.


Simply setting Enabled property to false does not actually stop it from working, it only changes the appearance.


If I first use swSelUNSUPPORTED in SetSelectionFilters() then the selection box does not respond to selections, good.  The next time I go to show the PMP I can then call SetSelectionFilters() with swSelSOLIDBODIES and the selector responds to selections, also good.  But after that I can not stop the selector from working, either by using swSelUNSUPPORTED or swNOTHING or null in SetSelectionFilters(), not good.


How can I stop the selector from responding once it has been enabled?


I am working with SW2011 (sp4 I think) with C#.  Will move to SW2012 very soon.