howto create a Textbox larger than 64kbyte ? 
Author Message
 howto create a Textbox larger than 64kbyte ?

Use the RichTextBox control.

Quote:
> Howdy...

> I am desperatly searching of any way to Handle Textboxes that display more
> than 64Kbytes,coz i need approx. up to 500K and tried Several things but
all
> time i end up at 64K , well -32.767 to 32.768 and thats all.
> If anybody knows a way how to manage that Problem please lemme know.

> Thanks in Advance...

> Mario



Mon, 03 Dec 2001 03:00:00 GMT  
 howto create a Textbox larger than 64kbyte ?
Howdy...

I am desperatly searching of any way to Handle Textboxes that display more
than 64Kbytes,coz i need approx. up to 500K and tried Several things but all
time i end up at 64K , well -32.767 to 32.768 and thats all.
If anybody knows a way how to manage that Problem please lemme know.

Thanks in Advance...

Mario



Tue, 04 Dec 2001 03:00:00 GMT  
 howto create a Textbox larger than 64kbyte ?
I think I may know of a way, but I'm unable to test it and its fairly complex.
First make a non scrolling multiline text box, then use then draw the
appropriate scroll bars onto your form.  BTW this isn't exactly an 'editor' but
could be if you tweaked it quite a bit.  From here, load your file into a large
string array, your 500k file will not likely fit in one text array ;) so span
it multiple arrays i.e.:
If fileline > 0 and fileline < 65535 then A$(fileline)=InputedStuff$
If fileline > 65534 and fileline < 131068 then A$(fileline-65534)=InputedStuff$
and so on.  Infact 'fileline' should probably be 'fileline!'

Anyway, then just have you text box view the max lines it can view at once,
then use the scrollbar to move up and down through the array, refreshing the
textbox with its viewable amount of lines.

If you had NO clue what I'm getting at then please let me know.  I won't
necessarily explain in detail if you don't care or already figured it out, but
I am interested in knowing how this turns out.  If you did figure it out,
please tell me your approach.

Bob

Quote:

> Howdy...

> I am desperatly searching of any way to Handle Textboxes that display more
> than 64Kbytes,coz i need approx. up to 500K and tried Several things but all
> time i end up at 64K , well -32.767 to 32.768 and thats all.
> If anybody knows a way how to manage that Problem please lemme know.

> Thanks in Advance...

> Mario

========================
Robert Van Etta ]I[

Sent from DOS on a Tandy RL


Tue, 04 Dec 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. help: Howto browse a large recordset?

2. Howto: Large and small exe icon ?

3. HOWTO: Transfer large amount of data online

4. HOWTO: Transactionless UPDATE on a large table

5. Howto prevent rounding errors in Textbox ?

6. howto ensure variable type in a TextBox

7. HowTo show multiple textcolors using textbox control?

8. HOWTO find the cursor position in a textbox?

9. How to view a large Textfile in an Textbox

10. textbox larger than 64K

11. Textbox - Loading Large Files

12. DISPLAYING large ASCII file in a multiline textbox

 

 
Powered by phpBB® Forum Software