1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
\r
4 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">
\r
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
\r
6 <title>Xestia Scanner Server Documentation - Developer Documentation - 2.19 addcheckbox</title>
\r
9 <div class="menubarback">
\r
10 <div class="menubar">
\r
11 <span class="apptitle">Xestia Scanner Server</span>
\r
12 <a href="index.html">Index</a> | <a href="user.html">User
\r
13 Documentation</a> | <a href="tutorial.html">Tutorial Documentation</a> |
\r
14 <a href="developer.html">Developer Documentation</a>
\r
17 <div class="pageinformation">
\r
18 <span class="pagetitle">2.19 addcheckbox</span>
\r
20 The addcheckbox subroutine adds a checkbox.
\r
25 $xestiascan_presmodule->addcheckbox(checkboxname, options);
\r
31 $xestiascan_presmodule->addcheckbox("checkbox", { OptionDescription => "Check box", Style => "checkboxstyle", LineBreak => 1 } );
\r
34 <i>checkboxname</i><br>
\r
35 Specifies the name of the checkbox.
\r
38 Specifies the following options as a hash in any order.
\r
40 <table class="infotable">
\r
42 <td class="tableheading">Setting</td>
\r
43 <td class="tableheading">Description</td>
\r
46 <td class="tabledata">OptionDescription</td>
\r
47 <td class="tabledata">Specifies a description for the checkbox value.</td>
\r
50 <td class="tabledata">Style</td>
\r
51 <td class="tabledata">Specifies the CSS style to use.</td>
\r
54 <td class="tabledata">Checked</td>
\r
55 <td class="tabledata">Specifies if the checkbox is checked.</td>
\r
58 <td class="tabledata">LineBreak</td>
\r
59 <td class="tabledata">Specifies if a line break should be added.</td>
\r