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 faced with a strange behaviour if IsReadOnly and ReadOnlyCanSelect properties set to true both. Selection with Ctrl or Shift button doesn't work properly. I have the following definition for surface control:
But selection with marquee rectangle works fine. Could you please take a look at this. I can send you a repro project if needed. Dmitry |
|
|
Thanks for pointing this out Dmitry This bug will be resolved in the next nightly build Jason Fauchelle |
|
|
Hello Jason The problem with multi selection using ctrl button is solved. But I see a strange behaviour if I hold Shift button and try to select some nodes. The problem occures only in Extended mode (SelectionMode="Extended", ReadOnlyCanSelect="True", IsReadOnly="True"). I'm not sure, may be it is a feature, but I cannot understand the logic of selection. Dmitry |
|
|
Hello Dmitry Within the DiagramSurface is a ListBox which is taking control of the selection logic when in ReadOnly mode. When holding Shift, the ListBox is causing a range of nodes to be selected based on the order they were added to the diagram. We don't actually intend for there to be any selection logic related to holding the Shift key, so in the next nightly build, holding the Shift key in read only mode will not do anything related to selection. The nodes will just be selected as though the Shift key were not being pressed. Using a ListBox made sense at first, but it will probably be removed in a future version due to these selection interferences. Jason Fauchelle |
|