Print Page | Close Window

problem in displaying FormField Text

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=302
Printed Date: 10 May 24 at 9:03AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: problem in displaying FormField Text
Posted By: Kapil
Subject: problem in displaying FormField Text
Date Posted: 02 Feb 06 at 2:36AM

Hi,

I have created a formfield of type "text". i can enter multiline text, now if the text is too large to fit in page, i will have to split the text so as some part of the text will be displayed on next page.

In short i want to display a FormTextFeild in two pages....

How can i split the text....??

Regards,

Kapil




Replies:
Posted By: shelby
Date Posted: 02 Feb 06 at 7:38PM
You might invest in the download of a manual....
 
Here is an idea to work with: (HTMLTextBox is useful, even when you are writing straight text)
 
h1 = height remaining on current page
T = Text To write
T = DrawHTMlTextBox(left,Top,TextWidth,H1,T)
while T <> ""
  CreateNewPage
  DoWhatYouDoAtTopOfNewPage - If Anything
  h1 = height remaining on new page
  T = DrawHTMlTextBox(left,Top,TextWidth,H1,T)
wend ; loop to while


-------------
To Err is to try. To fail is to err and not try again



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk