Results 1 to 2 of 2

Thread: arrays

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Leeds
    Posts
    30
    hi there all, ok i have a control, and i would like to pass an array (preferably 2 dimensional) to it. I have tried to create a control property but that doesn't seem to be want to work with arrays. Is it possible for this to work or will i have to try anyother method, if so any suggestions would be nice, thanks, Piers

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    You can pass a variant containing an array to your control:

    Code:
        Dim array2d(2, 2)
        aUserControl.aSub array2d

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