Source language: Translate to:

Text Entry Default Load Limit 60000

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

Text Entry Default Load Limit 60000

Postby HPW » Tue May 20, 2008 2:50 am

When I have a multiline text entry with no limit set and when I do:

Code: Select all
FileRead "....\MyBigTestFile.txt" "All" "[TextEntry1]"


to load some bigger content into it, I get only exactly 60000 chars loaded.

I can paste more text into it via clipboard with no problem.

Workaround: I set a much bigger limit of 2000000 and my files gets loaded without problem.

PS: This is not documented in the help-file.
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Neosoft Support » Tue May 20, 2008 9:56 am

NeoBook's Text Entry Field is derived from the Windows Edit control. The limits of the Edit control vary depending on the version of Windows you're using. According to Microsoft:

Windows 95 and 98 have a maximum limit of 64 KB.

Windows NT and higher support a limit up to 4GB depending on the amount of available RAM.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby HPW » Tue May 20, 2008 1:02 pm

This was on WIN XP.
And I did not check the 'Limit input to'.
So it should accept 4 GB, but I could only load 60000 chars.

When I check the checkbox and define a number like 2 MB I could load my 150 KB file with no problem.

So I did not change anything in the OS, but a setting in neobook to get it to work.
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany


Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests