__ no of controls in form.

Showing Answers 1 - 4 of 4 Answers

MANOJ SAINI

  • Apr 30th, 2005
 

No of controls : 254 on a form. If We are using control Array than 32667 maximum for one control

  Was this answer useful?  Yes

Siti

  • Aug 22nd, 2005
 

Maximum 254 controls are allowed in a Form

  Was this answer useful?  Yes

vishnu bobade

  • Sep 8th, 2005
 

Maximum 65550 controls are allowed in a Form

  Was this answer useful?  Yes

T. Kavitha

  • Dec 19th, 2005
 

The maximum number of controls allowed on a single form depends on the type of controls used and available system resources. However, there is a fixed limit of 254 control names per form. A control array counts only once toward this limit because all the controls in the array share a single control name.

The limit on control array indexes is 0 to 32,767 on all versions.

If you layer controls on top of each other, such as using several frame controls within other frames, Visual Basic will generally accept no more than 25 levels of nested controls.

Limitations for Particular Controls

The following table lists property limitations that apply to particular controls in Visual Basic.

PropertyApplies toLimitation
List and ListCountList box and combo box controlsMaximum number of items is 32K; the limit on the size of each item is 1K (1024 bytes).
TextText box controlLimited to 64K.
CaptionLabel controlLimited to 1024 bytes.
Command button, check box, frame, and option button controlsLimited to 255 characters. Any caption over these limits is truncated. Captions on custom control properties are limited to 32K.
Menu controlLimited to 235 characters.
TagAll controlsLimited only by available memory.
NameAll controlsLimited to 40 characters.

Note   In Visual Basic, control property names are limited to 30 characters.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions