Results 1 to 4 of 4

Thread: [RESOLVED] SSTAB Control (tabctl32.ocx) Limits?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Location
    carmi,IL.
    Posts
    105

    Resolved [RESOLVED] SSTAB Control (tabctl32.ocx) Limits?

    Good Morning:

    I am rinnung into a problem I can't seem to find the answer for. I have a SSTAB control placed on 1 form, this tab control has 18 tabs, each tab should have 4 command button on them but when I try to add Command button(16) it tells me I have reach the limit. I don't know if the problem is the number of controls the SSTAB can hold or if I have a command Button problem.

    I do have the SHAPE control (12) of them on 16 of the tabs. I also have 12 checkbox control on each tab. Surely, this is not the limit of the SSTAB.

    I have searched the internet but can't find any answers.

    Thanks
    David M. Camp

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: SSTAB Control (tabctl32.ocx) Limits?

    Without knowing what error you were getting it is hard to be sure... but I presume the limit you are reaching is that each form can only have 255 unique controls.

    You can have many more controls than that by using control arrays - give multiple controls (of the same type) the same name, and just set different values for their Index properties.


    Depending on what you are doing, there may well be much better ways of reducing the number of controls.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Location
    carmi,IL.
    Posts
    105

    Re: SSTAB Control (tabctl32.ocx) Limits?

    Just to make sure I understand!! If I use a control array that will only count as 1(one) control. Is this correct?

    Thanks
    David M. Camp

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: SSTAB Control (tabctl32.ocx) Limits?

    That's right.

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