Control is Container?
Determine if a type of control is in a type of a container.
Public Function ContrIsInCont(usedControl As Control, usedContainer As Control) As Boolean
fillfields = False
For Each objControl In Controls
If TypeOf objControl Is usedControl Then
If objControl.Container Is usedContainer Then
fillfields = True
End If
End If
Next
End Function
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.