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.

    Geoff.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

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

    glook Member Licensed User

    Thanks Erel. That is useful information.

    Geoff.
     
Loading...