Results 1 to 2 of 2

Thread: class: setting cmdButton array?

  1. #1

    Thread Starter
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179

    Question

    How can I use a cmdButton array in my class?

    If I use :
    Code:
     Private WithEvents plstFromBox As ListBox
    
    
    Public Property Set SetListBox(lstValue As ListBox)
        Set plstFromBox = lstValue
    End Property
    then I can use everything from the listbox in my class (click event, ...)

    But if I want to use a commandbutton array (eg : cmdB(0) and cmdB(1) ) .

    How can I parse this array to my class?

    Calle

  2. #2
    Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    53
    Have a look at this article on the VB2TheMax site:

    http://www.vb2themax.com/HtmlDoc.asp...rticles&ID=270

    I think this covers the sort of thing you want to do.


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