EgtCAM5 2.3d5 :
- abilita/disabilita nodi e immediati sottonodi tramite Shift - piccola correzione a checkbox Disposizioni
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user