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!
![]() |
Single line text or multi-line text? |
Post Reply
|
| Author | |
waynefulcher
Senior Member
Joined: 23 Jun 08 Location: United States Status: Offline Points: 99 |
Post Options
Thanks(0)
Quote Reply
Topic: Single line text or multi-line text?Posted: 20 Apr 10 at 7:25PM |
|
Can someone tell me how I can tell the difference between a field that is a single line of text or a memo type field that may have many lines of text? I use the GetFormFieldType(FieldIndex) and I see a return value of 1 means it is a text field but I dont know if it is multi-line or not.
Thanks
Wayne
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 Apr 10 at 9:13PM |
|
Hi Wayne!
You need this: is_ml := QP.GetFormFieldTextFlags(fieldindex,1); If "is_ml" has the value "1" then it's multiline (0 = Not). Have a look in the reference. if GetFormFieldTextFlags(fieldindex,2) for example returns with "1" this means password-format. Cheers, Ingo |
|
![]() |
|
waynefulcher
Senior Member
Joined: 23 Jun 08 Location: United States Status: Offline Points: 99 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Apr 10 at 2:26PM |
|
Got it! Thanks
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store