VBControlName – The name of a VB control

' the name of a control given the corresponding VBControl object' (accounts for items in control arrays)Function VBControlName(vbc As VBIDE.VBControl) As String    Dim index As Long    index = vbc.Properties("Index")    If index < 0 Then        VBControlName = vbc.Properties("Name")    Else        VBControlName = vbc.Properties("Name") & "(" & CStr(index) & ")"    End IfEnd Function

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist