Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipX.Lib v1.2 - <b>listbox()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ListBox()
Writes wrapper for Select/Option tags
------------------------------------------------------------

Syntax:

  ListBox( <cName>, <aValText>, <nSel> )  --->  lSuccess

Arguments:

  <cName> is a character string for the name of the List Box.

  <aValText> is a two-dimensional character array containing
   the Option tag values to display.
   Subscript 1 = value
   Subscript 2 = text

  <nSel> is a numeric value specifing the default selected item array
   element number.

Returns: A logical value

Description:

  ListBox() combines the companion tags necessary to create a
  selection or listbox. Multiple Option tag values are contained in a
  two-dimensional array of value/text sets. The text appears as listbox
  choices and the associated value is passed to the CGI program.

Examples:

  ListBox( "listChoice",{{"R", "Red"},{"W","White"},{"B","Blue"}}, 2 )

Files: Library is ClipX.Lib


See Also: SelectBeg() SelectEnd() Option()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson