EgtCAM5 2.3d5 :

- abilita/disabilita nodi e immediati sottonodi tramite Shift
- piccola correzione a checkbox Disposizioni
This commit is contained in:
Renzo Lanza
2021-04-13 14:43:37 +00:00
parent d2ddd98512
commit 5001fe7ea2
3 changed files with 20 additions and 3 deletions
@@ -80,6 +80,23 @@ Public Class LayerTreeViewItem
Map.refProjectVM.ExecuteCommand(Controller.CMD.HIDE)
End If
End If
Dim bOnOffGroup As Boolean = ((Keyboard.Modifiers And ModifierKeys.Shift) = ModifierKeys.Shift) AndAlso Items.Count > 0
If bOnOffGroup Then
' abilito/disabilito tutti i nodi del livello sotto di esso (e non oltre)
For Each Node In Items
Node.m_bOnOff = value
' se abilitato, eseguo operazione
If m_SendCmd Then
Map.refProjectVM.SetLastInteger(Node.Id)
If value Then
Map.refProjectVM.ExecuteCommand(Controller.CMD.SHOW)
Else
Map.refProjectVM.ExecuteCommand(Controller.CMD.HIDE)
End If
End If
Node.NotifyPropertyChanged(NameOf(OnOff))
Next
End If
End If
End Set
End Property