TabControl VB
-
Is there any limit to the maximum number of tab that can be added to TabStrip Controlin VB. In my application after 254 tab it give memory error. I am not able to find nay documentation specifying the maximum count. If there is any maximum count and if can be increase in any way ?
Regards Anil
-
Is there any limit to the maximum number of tab that can be added to TabStrip Controlin VB. In my application after 254 tab it give memory error. I am not able to find nay documentation specifying the maximum count. If there is any maximum count and if can be increase in any way ?
Regards Anil
I guess the real question is, why do you hate your users so much that you'd create such an awful UI. 254 tabs ? 255 is obviously #FF, it's the max value of a byte. So, it's a logical maximum value to have. And no, you can't change it without writing your own tab control.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I guess the real question is, why do you hate your users so much that you'd create such an awful UI. 254 tabs ? 255 is obviously #FF, it's the max value of a byte. So, it's a logical maximum value to have. And no, you can't change it without writing your own tab control.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Yes I appreciate what you suggest. But some application can need it sometime :) In case of Excel, we should not able to add more than 255 sheet! No we can. I got the solution for the above question. Instead of using "Microsoft Common Dialog Control 6.0" I will use "Microsoft Forms 2.0 object Library" TabControl
Regards Anil
-
Yes I appreciate what you suggest. But some application can need it sometime :) In case of Excel, we should not able to add more than 255 sheet! No we can. I got the solution for the above question. Instead of using "Microsoft Common Dialog Control 6.0" I will use "Microsoft Forms 2.0 object Library" TabControl
Regards Anil
-
:laugh: Tabs inside Tab, then suddenly you can put 255 x 255 tag pages! I would hate to be the user, or in general vicinity of that application.... Or you can redesign the application by dynamically load the form/area that the user want to look at.
darkelv wrote:
Tabs inside Tab
I did not get u ?... Any way I just told that Windows Common Control's tab control can not handle more than 255 but the other one can handle in thousands.. And of course the tabs added are dynamically. No body is going to give user interface with 255 tabs. But we can think of extreme conditions. If you are using VC interface I think it can open more than 255 files at a time in different tabs. But in practically no one would ever open... U are using lots of application that support more than 255 tabs ;P If you are reading this article in Firefox now it might able to open 255 tabs, :laugh:
Regards Anil