Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 forms compiled in VFP 8.0
Message
 
To
13/03/2003 20:34:44
Ma. Consuelo Abadingo
Accountmate Philippines Corporation
Mandaue, Philippines
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00765658
Message ID:
00765671
Views:
21
>1. Editbox control
> * the edit box control in basectr.vcx (bedt) and editctr.vcx
>(eedt) will no longer work on VFP 8 because it cannot accept a value of 15000 for the maxlength property
> * a form with 15000 maxlength value in bedt or eedt will crash
>
>Is this a VFP 8.0 bug? Any workaround, please.

I don't get any error with the following code (assuming there's a visible form called "form1"). Does it work for you?
form1.AddObject("edit1", "editbox")
form1.edit1.MaxLength = 15000
form1.edit1.Visible = .t.
form1.edit1.value = REPLICATE("1234567890", 1500)
?LEN(form1.edit1.value)
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform