1HTMLDocument.addLabelledTextarKeaay(a3kmaoydau)leHTrMeLfDeorceunmceent.addLabelledTextarea(3kaya)
2
3
4
6 HTMLDocument::addLabelledTextarea - Adds a labelled textarea
7
9 ElementTree addLabelledTextarea( ElementTree parent, String name,
10 String labeltext, String initialtext=createString(0), Int rows=5, Int
11 cols=40 )
12
14 parent The parent element
15
16 name The name of the textarea. Remember that names starting with
17 "kaya_" may be used by the Kaya standard library and should not be used
18 directly by applications.
19
20 labeltext The text of the label
21
22 initialtext The initial contents of the textarea, if any. Thisparameter
23 is optional, with the empty string as a default.
24
25 rows The number of rows the fieldset has. This parameter may be omitted
26 for a default of 5
27
28 cols The number of columns the fieldset has. This parameter may be
29 omitted for a default of 40. Note that there is no browser-independent
30 relationship between the number of columns in a text area, and the size
31 of a normal text input, so getting them to be consistently the same
32 width is not possible.
33
35 Adds a labelled textarea to a form. Since the labelled textarea is
36 enclosed within a division, the parent element may be the form itself.
37 Text areas are useful for entering large amounts of user input, or
38 where the user input needs to contain new lines. The textarea and its
39 label will be separated by a line break.
40
42 Kaya standard library by Edwin Brady, Chris Morris and others
43 (kaya@kayalang.org). For further information see http://kayalang.org/
44
46 The Kaya standard library is free software; you can redistribute it
47 and/or modify it under the terms of the GNU Lesser General Public
48 License (version 2.1 or any later version) as published by the Free
49 Software Foundation.
50
52 HTMLDocument.addFieldset (3kaya)
53 HTMLDocument.addLabelledSelect (3kaya)
54 HTMLDocument.addLabelledInput (3kaya)
55 HTMLDocument.addOption (3kaya)
56 HTMLDocument.addTextarea (3kaya)
57
58
59
60Kaya DecembeHrTM2L0D1o0cument.addLabelledTextarea(3kaya)