ControlType for ArrayList

Discussion in 'Bug Reports' started by glook, Feb 17, 2008.

  1. glook

    glook Member Licensed User

    I guess this could be a small bug?

    I have a sub that needs to determine the ControlType from a name parameter.

    When the name is for an ArrayList, ControlType returns the string "System.Collections.ArrayList". This was unexpected as everything else returns only the simple type.

    It is easy to workaround by checking in the string, just not the expected result.

    I'm using version 6.05, writing on the desktop.

  2. Erel

    Erel Administrator Staff Member Licensed User

    Some controls are not "regular" controls.
    The following controls will show a .Net name and namespace:
    ImageList - Appears as an ArrayList
  3. glook

    glook Member Licensed User

    Thanks Erel. That is useful information.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice