
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