The textbox command creates text fields on a SAP screen.
The basic syntax for textbox is shown below:
textbox([startRow, startCol], [endRow, endCol], {"name":"name", "option":"option"});
The textbox command takes the following options:
Any default text in the textbox cannot be changed by a user.The syntax is:
{"readonly":true}
The text will not wrap. This option requires users to press 'Enter' to begin a new line. The syntax is:
{"nowordwrap":true}
Specifies the selected font. If this option is not specified, defaults to Arial. The syntax is:
{"textfont":"font_name"}
Sets the text height in pixels. The default is 16. The syntax is:
{"textheight":x}
Specifies text weight from 1 (thin) to 9 (heavy). The default standard setting is 5 and the default bold setting is 7. The syntax is:
{"textweight":x}