Max # of controls

Discussion in 'AutoCAD' started by Matt W, Aug 24, 2004.

  1. Matt W

    Matt W Guest

    Does anyone know what the maximum number of controls is for a single form in
    VBA?
    Currently, the control count of one form stands at 46 but it won't be much
    longer.

    Thanks in advance!
     
    Matt W, Aug 24, 2004
    #1
  2. I have 578 on mine, and a bunch more are added at run time, so I think you
    have a ways to go.

    Randy Richardson
    Hattiesburg, MS
     
    Randy Richardson, Aug 24, 2004
    #2
  3. Matt W

    Ed Jobe Guest

    I have a text entity form that adds a label and text box for each text in
    the selection set at runtime. It could be hundreds if you select that many.
    I've never heard of any limit. Though there might be, for all practical
    purposes, you can do what you want.
     
    Ed Jobe, Aug 24, 2004
    #3
  4. Matt W

    Matt W Guest

    WOW!
    Can you post a screen shot of that??!?

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | I have 578 on mine, and a bunch more are added at run time, so I think you
    | have a ways to go.
    |
    | Randy Richardson
    | Hattiesburg, MS
    |
    | | > Does anyone know what the maximum number of controls is for a single
    form
    | in
    | > VBA?
    | > Currently, the control count of one form stands at 46 but it won't be
    much
    | > longer.
    | >
    | > Thanks in advance!
    | >
    | > --
    | > Matt W
    | >
    | > The difference between genius and stupidity is that genius has its
    limits.
    | >
    | >
    |
    |
     
    Matt W, Aug 24, 2004
    #4
  5. Matt W

    Matt W Guest

    Thanks, guys.
    So I'm going to assume that the only limiting factor will be system
    resources (which shouldn't be a problem).

    --
    Matt W

    The difference between genius and stupidity is that genius has its limits.
    | I have a text entity form that adds a label and text box for each text in
    | the selection set at runtime. It could be hundreds if you select that
    many.
    | I've never heard of any limit. Though there might be, for all practical
    | purposes, you can do what you want.
    |
    | --
    | ----
    | Ed
    | ----
    | | > Just curious, but why in the world would you need 578 controls???
    |
    |
     
    Matt W, Aug 24, 2004
    #5
  6. The controls are not all visible simultaneously, so I couldn't post an image
    where you could count 578 controls.

    -Randy
     
    Randy Richardson, Aug 24, 2004
    #6
  7. When you automate the detailing of equipment that has so many variables that
    the number of possible different configurations is pretty much infinite, and
    in the process making it as user-friendly as humanly possible, you can
    easily use 578 controls.

    -Randy
     
    Randy Richardson, Aug 24, 2004
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.