i cannot copy a textbox - i'm on vb 6.0

User avatar
sal21
PlatinumLounger
Posts: 4576
Joined: 26 Apr 2010, 17:36

i cannot copy a textbox - i'm on vb 6.0

Post by sal21 »

I copy and paste in a form a textbox.... but recive the error!

Reached limit. cannot create any more control on tghis form

User avatar
HansV
Administrator
Posts: 80088
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: i cannot copy a textbox - i'm on vb 6.0

Post by HansV »

The maximum number of unique control names on a form is 254
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4576
Joined: 26 Apr 2010, 17:36

Re: i cannot copy a textbox - i'm on vb 6.0

Post by sal21 »

HansV wrote:
04 Dec 2024, 11:03
The maximum number of unique control names on a form is 254
HAAAAA....
TKS

User avatar
SpeakEasy
5StarLounger
Posts: 742
Joined: 27 Jun 2021, 10:46

Re: i cannot copy a textbox - i'm on vb 6.0

Post by SpeakEasy »

Control arrays may be a way of dealing with this (depending on your requirements) - note, as Hans says, the limit is unique names, not controls