Results 1 to 5 of 5

Thread: Optional inputListView As ImageList

  1. #1

    Thread Starter
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Optional inputListView As ImageList

    Optional inputListView As ImageList

    How do I test whether an imagelist was provided?

  2. #2
    Hyperactive Member ZeroCool's Avatar
    Join Date
    Feb 2002
    Location
    In front of my computer
    Posts
    423
    Code:
    If inputListView = Nothing Then
    'No List Was Givin
    Else: End If
    'List Was Givin

  3. #3

    Thread Starter
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    Compile error:

    Invalid use of object

    I already tried that.
    I also tried:


    if isMissing(inputlist) then

  4. #4
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    If Not (inputListView Is Nothing) Then
    -= a peet post =-

  5. #5

    Thread Starter
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497


    That was it!

    The = vs the 'is' was the prob.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width