Results 1 to 2 of 2

Thread: Maximium # of objects on a form?

  1. #1

    Thread Starter
    Member JPRoy392's Avatar
    Join Date
    Aug 2000
    Posts
    50

    Question

    I am trying to add more objects to a form (text boxes, labels, check boxes, etc.) and VB is preventing me from doing this. I already have a ton of controls on this form, but I wanted more. (I am using the MS tab tool to do this). I didn't realize VB had a maximium number of objects on a form and does anyone know how to increase the number? Thank You.

    Jim

    "...head is all empty and I don't care..."

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Use control arrays where ever you can. VB can have a maximum of (if I remember correctly) 256 controls or control arrays.
    Since a control array can hold 32767 controls you get the maximum total of 8388352 (256 * 32767).

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