ashiq
07-19-2003, 12:02 AM
hi
is there a way to display contents of a richtextbox into multiple pages?
thanks in advance
ashiq
is there a way to display contents of a richtextbox into multiple pages?
thanks in advance
ashiq
richtextbox pagesashiq 07-19-2003, 12:02 AM hi is there a way to display contents of a richtextbox into multiple pages? thanks in advance ashiq Cyber_Boy 07-19-2003, 02:07 AM Well, there is no method fixed inside the Rich Text Box control, but you could always keep a buffer (a String Array). You keep record of all the number of lines, and store the data in the Array. For example, you would name the Array PAGES. Therefore Pages(0) is Page 1, Pages(1) is Page 2, etc... You would keep for example, a fixed amout of lines for each page, like 100 each. And when page1 is filled, the user can press next, where it clears the rtf box, and sets the array to the next page. It should be quite fine! hope it helps ashiq 07-20-2003, 06:35 AM that helps. thanks for the idea Cyber_boy. |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum