Search Tools Links Login

Site Hosting Changing Soon: Might be a bit of down time. Sorry for the inconvenience.

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

About this post

Posted: 2020-08-30
By: vb6boy
Viewed: 147 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.