W
wayne
Access 2007/VBA/treeview control:
NodeCheck event in VBA won't allow me to reset checkbox, even when code
establishes addressibility on node in treeview control. Any thoughts? The
event procedure is below:
Private Sub MyTree_NodeCheck(ByVal thisNode As Object)
Dim myTreeView As TreeView
Set myTreeView = Me!MyTree.Object
With myTreeView
If thisNode.Bold Then
Else
.Nodes(thisNode.Index).Checked = True
.Refresh
End If
End With
End Sub
Thanks.
NodeCheck event in VBA won't allow me to reset checkbox, even when code
establishes addressibility on node in treeview control. Any thoughts? The
event procedure is below:
Private Sub MyTree_NodeCheck(ByVal thisNode As Object)
Dim myTreeView As TreeView
Set myTreeView = Me!MyTree.Object
With myTreeView
If thisNode.Bold Then
Else
.Nodes(thisNode.Index).Checked = True
.Refresh
End If
End With
End Sub
Thanks.