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
About this post
Viewed: 139 times
No comments have been added for this post.
You must be logged in to make a comment.