|
|
![]() |
|
||
|
|
|||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||
|
Visual Basic Core Snippet Routines IsControlInArray |
|||||
| Returns True if the passed control represents a control array. | |||||
| Updated: | Monday December 26, 2011 | ||||
| click to copy code: |
|
Applies to: | VB4-32, VB5, VB6 | ||
| OS restrictions: | None |
| Code Snippet | ||||
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Copyright ©1996-2011 VBnet/Randy Birch, All Rights Reserved. ' Some pages may also contain other copyrights by the author. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Distribution: You can freely use this code in your own ' applications, but you may not reproduce ' or publish this code on any web site, ' online service, or distribute as source ' on any media without express permission. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Private Function IsControlInArray(ctl as Object) As Boolean
IsControlInArray = TypeName(ctl) = "Object"
End Function
|
||||
|
|
||||
| Calling Syntax | ||||
Print IsControlInArray(Option1) |
||||
|
|
||||
| Comments / Related | ||||
|
||||
|
|
|
|
|
|||||
|
|||||
|
|
|||||
|
Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved. |
![]() |