Results 1 to 2 of 2

Thread: ListView Help.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    Mobile, AL
    Posts
    16
    I have a form with a listview. The listview is a control array. At runtime I want to be able to create listviews with the same properties. This is called lstView(0). I need to add lstView(1), etc. I don't know in advance how many I will need. So, I need to create them as I need them. How can I do that?


  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658

    Load at run time

    You use the load command. Then once the control is loaded you have to make it visible. Also it will appear exactly where the original lstView is so you will have to change the top and left properties

    Code:
      load lstView(number)
      lstview(number).visible = true

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