LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I edit a 15MB text file in an edit field without the scroller bar overrunning?

I am supplying my user access to an extremely long text file through an edit field.

At some point the scroll bar over-runs i.e. the white interval between the arrows(vertical) goes beyond the arrows and the current position handle is lost out.

Any idea how to normalize his error !
0 Kudos
Message 1 of 3
(2,978 Views)
Hi,

I've been playing here with some large text files and I have not been able to replicate the problem; could you describe in more detail the problem that you see?

Anyway with a file of that size I would recommend that you load dynamically the data. that is keep in memory only the part of the data the the user is viewing and keep the rest on the file. The you can dynamically swap that informatoin as the user scrolls through the text box. Even if you get this to work it will get slow if you load the hole file into memory.

Please give us more info so we can work on this.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 3
(2,978 Views)
I tried doing that now but the scroller now does not represent the position in the file.
The file comes as a long list so if you tried editting the file it might be wide so the length is limited.

Any other aproach you can suggest ?
0 Kudos
Message 3 of 3
(2,978 Views)