Hi,
I have added a property to my usercontrol, called NumberOfChildRecords. This property appears when i add the control and view its properties manually. However, i am adding this control by code, and this does not allow me to add this property.
ctlParent = New TreeViewv2.TreeView_Parent
With ctlParent
.Name = "tvw_Parent" & lngParentRow
.Top = 0 + (lngParentRow * intHeight)
.Height = intHeight
.Width = pnlTreeView.Width
.NumberOfChildRecords = rst.recordcount-1
End With
Can anyone advise why i cant seem to add via code.
Thanks.
I have added a property to my usercontrol, called NumberOfChildRecords. This property appears when i add the control and view its properties manually. However, i am adding this control by code, and this does not allow me to add this property.
ctlParent = New TreeViewv2.TreeView_Parent
With ctlParent
.Name = "tvw_Parent" & lngParentRow
.Top = 0 + (lngParentRow * intHeight)
.Height = intHeight
.Width = pnlTreeView.Width
.NumberOfChildRecords = rst.recordcount-1
End With
Can anyone advise why i cant seem to add via code.
Thanks.