Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Adding spaces to text field.
  FAQ FAQ  Forum Search   Register Register  Login Login

Adding spaces to text field.

 Post Reply Post Reply
Author
Message
zbrd View Drop Down
Beginner
Beginner


Joined: 25 Oct 09
Location: Indiana, USA
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote zbrd Quote  Post ReplyReply Direct Link To This Post Topic: Adding spaces to text field.
    Posted: 13 Nov 09 at 1:48PM
I know this should be simple, but I can't figure it out.
I'm using Delphi and QPDF 7.15.
 
I want to simply add spaces to a text string.  Everything I try simply gets ignored and the string is formatted with only 1 space.  Example:
'Hello World            ' + 'Nothing to say'
 
Shows up as:
Hello World Nothing to say
 
I have tried the Chr(20), concatenating spaces in fields and still just 1 space.
 
Any help would be appreciated.
Back to Top
JanN View Drop Down
Senior Member
Senior Member


Joined: 29 Oct 05
Location: Germany
Status: Offline
Points: 116
Post Options Post Options   Thanks (0) Thanks(0)   Quote JanN Quote  Post ReplyReply Direct Link To This Post Posted: 14 Nov 09 at 10:01PM
You could try the "other" space: Chr(160). Perhaps this works.
Back to Top
zbrd View Drop Down
Beginner
Beginner


Joined: 25 Oct 09
Location: Indiana, USA
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote zbrd Quote  Post ReplyReply Direct Link To This Post Posted: 14 Nov 09 at 10:55PM
Excellent, that worked great.  Thanks for the help!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store