sammy918
Messages postés20Date d'inscriptionsamedi 10 avril 2004StatutMembreDernière intervention25 septembre 2005
-
23 juin 2005 à 22:15
kakenette
Messages postés218Date d'inscriptiondimanche 1 mai 2005StatutMembreDernière intervention15 novembre 2009
-
23 juin 2005 à 23:43
bonjour,
quand j'essaye d'ajouter d'autre objet dans ma form1 sa me dit : Reached Limit :cannot create any more controls for this form.
ya t-il un moyen pour ne pas avoir de limit pour avoir infini de bouton ou autre chose dans les forms
nhervagault
Messages postés6063Date d'inscriptiondimanche 13 avril 2003StatutMembreDernière intervention15 juillet 201137 23 juin 2005 à 23:40
Salut
Private Sub Command1_Click(Index As Integer)
For i = 1 To 6000
Load Command1(i)
Next i
MsgBox i
End Sub
fonctionne chez avec un VB6 SP5
Chez MSDN j'ai ca
La solution est de passé par les index si tu peux le faire
L'autre solution est de repenser la fenetre
Autre solution faire des controle Active X
Qui devient un conteneur de control et qui compte pour un.
Une IHM avec 255 controle n'est pas je pense correcte, l'ergonomie de l'application ne doit pas etre optimale.
Reached limit: cannot create any more controls on this form (Error 345)
See Also
No more than 255 individual controls are allowed for each form. This error has the following cause and solution:
<li>At design time you tried to add a control to
a form that resulted in a total of 256 individual controls for the form
(with the form itself counting as one control).
Delete one or more controls from the form or redefine one or more of your controls as part of a control array.