Lasso Soft Inc. > Home

[PDF_Doc->AddSelectList]

[PDF_Doc->AddSelectList] adds a select list to a form in a [PDF_Doc] variable. A required -Name parameter specifies the name of the select list, and a required -Values parameter specifies the array of values contained in the slect list (Value1, Value2, etc.). An -Options paramter may be used instead of the -Values parameter that specifies a pair for each value. The first element in the pair is the value to be used upon form submission, and the second element is the human-readable label to be used for display only. An optional -Default parameter specifies the name of a default value selected. A -Font parameter may be used to specify a [PDF_Font] variable to be userd as the text font.

  • Syntax
  • Parameters
Required Parameters
-Name Specifies the name of the select list.
-Left Specifies the placement of the left side of the form element from the top left corner of the current page in points.
-Top Specifies the placement of the form element from the top of the current page in points.
-Width Specifies the width of the form element in points. Requires a decimal value.
-Height Specifies the height of the form element in points. Requires a decimal value.
-Values Specifies an values contained in the pull-down menu (Array: 'Value1', 'Value2', etc.).
-Font Sets the font for the text. Requires the name of a [PDF_Font] variable.
Optional Parameters
-Options May be used instead of the -Values parameter to specify a pair for each value (Array: (Pair: (Value1)=(1)), (Pair: (Value2)=(2))). The first element in the pair is the value to be used upon form submission, and the second element is the human-readable label to be used for display only.
Examples

See the PDF chapter in the Lasso 8 Language Guide for examples of how to use this tag. Many of the PDF examples require lengthy descriptions and the use of several related tags and are better suited to presentation in the Language Guide. This tag is documented on page 577.

Tag Link [PDF_Doc->AddSelectList] Category PDF
Type Member Data Source Any
Support Preferred Version 6.0
Output Type None Security File
Implementation LJAPI Sets Lasso 7.0, Lasso 6.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft