|
-
Nov 7th, 2008, 06:59 AM
#1
Thread Starter
Lively Member
[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
-
Nov 7th, 2008, 07:56 AM
#2
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.
-
Nov 7th, 2008, 09:44 AM
#3
Thread Starter
Lively Member
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
-
Nov 7th, 2008, 10:28 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|