by Justin Coleman (6 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 10th August 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Determine if a specific control exists on the specified loaded form
Dim frm As Form
Dim ctl As Control
Set frm = frmname
For Each ctl In frm.Controls
MsgBox ctl.Name
If LCase(ctl.Name) = LCase(ctlname) Then
IsCtl = True
Exit Function
End If
Next
IsCtl = False
End Function
No comments have been posted about Determine if a specific control exists on the specified loaded form. Why not be the first to post a comment about Determine if a specific control exists on the specified loaded form.