This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I've attached a sample to reproduce this problem. Run the attached sample, click on One Object button and you can see the spin buttons (propertyEditor) applkied to the both properties. Now click on the Two Objects button, and only the first property contains the propertyEditor (the spin button is not available on the second property). Thanks |
|
|
Hello In the multiselection scenario, you'll find that an instance of Many is passed into the CanEdit method which is why the type check in your PropertyNameContainsEditor fails. What you'll need to do is first check to see if the node is an instance of Many. Next you'll find Many does not provide the name of the property where the values came from. Since you'll be needing this, I've added this in for you now. So to proceed, you'll need to get the next nightly build which will be available at around 1200 GMT (about 9 hours from now) from your account page. Once you've done this, you'll be able to use this code in your CanEdit method to get everything to work:
-Jason Fauchelle |
|