Welcome to Dream.In.Code
Become a VB Expert!

Join 150,239 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,356 people online right now. Registration is fast and FREE... Join Now!




how to increase menubar items

 
Reply to this topicStart new topic

how to increase menubar items

muddasir
12 Dec, 2007 - 03:45 AM
Post #1

D.I.C Head
Group Icon

Joined: 14 Jan, 2007
Posts: 106



Thanked: 4 times
Dream Kudos: 200
My Contributions
my prg is basically accounting programe
my menu bar on MDI Form is like this

Code: ( text )
Reports
.....Sales
..........Cash Sales
............... Cash Sales report (Customer wise)
............... Cash Sales report (Date Wise)
..........Credit Sales
.....Purchase
..........Cash Purchase
..........Credit Purchse
Sale
.....Credit Sales
.... Cash Slaes
Purchase
.....Credit Purcse

'
'
and so one
(more than 50 more items)


now when i am adding more items in its
its give the error
"Reached limint, cannot made any more control on this form"

know how to solve it


User is offlineProfile CardPM
+Quote Post

Martyr2
RE: How To Increase Menubar Items
12 Dec, 2007 - 10:07 AM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,660



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
You are just bumping up against the control limit of 255. You can try what Veena said in response to your question on thescripts.com and create an array of controls and use its index to determine the course of action. If your form is heavy with controls, perhaps you should look at your design again and either break it up into other forms or group things together into more logical segments.

I hope this helps. smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 06:18AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month