Defining Alpha Views
- Last UpdatedNov 14, 2022
- 1 minute read
view .Input AT . . . ALPHA
height 20 width 40
channel COMMANDS
exit
view .InputOutput AT . . . ALPHA
height 20 aspect 2.0
channel REQUEST
channel COMMANDS
exit
Borders and scroll bars cannot be turned off and the area they occupy is in addition to the size you specify for the gadget.
To define the data channel via which the gadget derives its alphanumeric content, use the channel command:
|
channel COMMANDS |
causes the alpha view to have a command input field and displays command lines and error messages in the scrollable output region. |
|
channel REQUESTS |
displays the output resulting from commands, in particular, queries in the scrollable output region. |
To set the keyboard focus so that keystrokes come to this gadget:
!This.InputOutput.SetFocus()
To clear the text output region of an alpha view use:
!This.InputOutput.clear()
It is not an error to have no associated channels when an alpha gadget is created.