Results 1 to 11 of 11

Thread: Property Set *RESOLVED*

Threaded View

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Question Property Set *RESOLVED*

    If, say for example, I am passing an imagelist to a property would I use:
    VB Code:
    1. Public Property Set ImageList(ByVal Value As Object)
    2.     Set milsImageList = Value
    3. End Property
    4.  
    5. Public Property Get ImageList() As Object
    6.     Set ImageList = milsImageList
    7. End Property
    or
    VB Code:
    1. Public Property Set ImageList(ByVal Value As Variant)
    2.     Set milsImageList = Value
    3. End Property
    4.  
    5. Public Property Get ImageList() As Variant
    6.     Set ImageList = milsImageList
    7. End Property
    Basically, Variant or Object as the passed parameter...?

    Woka

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