Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit Box question
Message
 
 
To
06/06/2001 11:49:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00515251
Message ID:
00515849
Views:
20
>>>>Hello,
>>>> I have an editbox on a form which displays data as it is recieved form the mscomm control. Does anyone know how to automatically scroll an editbox to the bottom as it's value changes? Also, how much data can I stuff into an editbox? Thanks,
>>>>John
>>>
>>>this.Selstart = len(this.value)
>>>2Gb in theory
>>
>>Probably not. The limit on a memory variable is 16 MB so that may be the limit here. (Don't know, haven't tested it.)
>
>Larry,
>I don't remember I saw 16Mb limit anywhere before. Is it in VFP7 ref ? or I'm looking at wrong places ever. Anyway I don't think that someone would hit that limit for a memo.
>Cetin

Hi Cetin,
Under Visual FoxPro Documentation - Using Visual FoxPro - Programmer's Guide - Appendix - Visual FoxPro System Capacities. The Maximum # of characters per character string or memory variable is 16 MB. I ran into this particlular issue when attempting to test a supposed problem with ADIR() and > 1GB files (posted by George T. the other day). When I passed a string longer than 16 MB to replicate() to build a file, VFP threw an error.

VFP must store passed expressions as internal variables before continuing and it ran over this limit.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform