Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help no more controls allowed !!

Status
Not open for further replies.

maverickmonster

Programmer
May 25, 2004
194
GB
Hi all

Im making a system and just tried to add a new txtbox and a error msg came up saying i have reached the limit for controls !! Is there any way to get round this or do i have populate the rest of the info onto new forms, although currently i was using tabs i could use multiple forms but i prefered the to use the tabs.

:(

Maverickmonster
 
Consider putting similar sets of controls into Control Arrays

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

For tsunami relief donations

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
Mav,

Some Form you (and your users) are getting into there!

The limit you have hit is probably for the 256 Control names, you are not limited to 256 Controls though because a Control Array only consumes one name.

Could be you are working on an experiment, if not you should really consider shifting some of the interface out onto other Forms.

regards Hugh,
 
Past experience has shown me that the practical limit of # of controls on a form is about half the max (around 128). Once you go much above that you start having performance problems, and things sometimes act wonky. Plus the users have a tough time using such a form.

I would split your form up into 2 (or more) forms.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
I have started to make control arrays on me SStabs but when i change to different tabs the array txt boxes dont move with the tabs they stay where they are made
 
maverickmonster,
See this thread regarding the problem with the SSTab.

thread222-992469



Two strings walk into a bar. The first string says to the bartender: 'Bartender, I'll have a beer. u.5n$x5t?*&4ru!2[sACC~ErJ'. The second string says: 'Pardon my friend, he isn't NULL terminated'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top