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>checkbox()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CheckBox()
Return/writes HTML Checkbox form-object
---------------------------------------------------------------------

Syntax:

  CheckBox( <cName>, <cValue>, <lChecked> )  --->  cString

Arguments:

  <cName> is a character string name of the Checkbox.

  <cValue> is a character string value of the Checkbox.

  <lChecked> is a logical value for the default checked value.

Returns: A character string consisting of the generated HTML tag.

Description:

  Generates Checkbox Input form-object.

  The generated string is always returned. The string will be written
  to standard-out depending on the value of StopWrite().
  The default StopWrite() value is FALSE. Setting the StopWrite() value
  to TRUE will suspend the write to standard-out.

  <lChecked> sets the default checked value.

Examples:

  FormBeg()
    CheckBox( "ckBox1", "Red", .T. )
    CheckBox( "ckBox2", "Blue" )
  FormEnd()

Alternate:

  htmlWrite("<INPUT NAME="YourName" TYPE="CHECKBOX" CHECKED>YourCaption' )

Files: Library is ClipX.Lib

Online reference: Mikodocs Guide To HTML - INPUT TYPE=CHECKBOX 


See Also: Input()

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