Is there a way to tell which controls are directly on the parent form and which are in a container using the Controls Collection?
I thought this would be simple but apparently I am missing something
If I do this
It returns not only the controls on the form but also returns the controls inside the frame on the form and I need to differentiate between controls on the form and controls in a container.
This is simple in VB.Net but apparently works a bit different in VB6
Any pointers?
I thought this would be simple but apparently I am missing something
If I do this
Code:
For Each ctl In Me.Controls
Debug.Print ctl.Name
Next
This is simple in VB.Net but apparently works a bit different in VB6
Any pointers?