KxScrolledList 

The KxScrolledList is very similar to a Motif ScrolledList but is not actually
a ScrolledList widget. Use the ScrollBar to scroll the items up and down inside 
a KxScrolledList. You can display more items (or more of items) by resizing the 
entire Screen. A KxScrolledList is actually a ScrolledWindow of either Text 
(read-only) or a RowColumn of PushButtons (interactive). The cursor changes to 
a hand when you move it over an entry in an interactive KxScrolledList. Since 
each entry is a PushButton, click on the entry to drill down to the next level.
This produces another Screen with more details. You cannot click and drag down 
the selection list like you can for a true ScrolledList (in Browse Select mode);
you can only select one entry at a time. 

Because Sun MTPScan displays the entries for a read-only KxScrolledList with a Motif
Text widget, you can use the standard X copy and paste facility on the Text 
widget's contents. Copy a value by double clicking on its value inside the 
KxScrolledList. You can also click and drag from one side of the value to the 
other. Either action highlights the selection and copies the string to the X 
clipboard. The middle mouse button dumps the contents of the clipboard at the 
current cursor location. The following instructions show you how to use the copy
and paste to quickly compose a UNIX command. Say you want to kill a runaway 
process identified with the help of the Sun MTP Servers Screen. First select the 
target "Pid" value with the mouse. Then at a UNIX shell prompt, type "kill " 
(don't forget the space) and then click the middle mouse button to deposit the 
"Pid" value at the end of the kill command. To execute the command, hit the
<Return> key.

If the columns header does not align with a KxScrolledList's columns, you must
edit a pair of resources in the app-defaults file, $XAPPLRESDIR/KixScan. The
resource is preset to a value that works for an NCD 19c X terminal. Your X
display may have a different resolution so the left offset may need to be reset.
The resource values are easily changed. Look for the following lines in the 
app-defaults file:

*KxScrolledList*interactive*header.leftOffset: 28
*KxScrolledList*read_only*header.leftOffset:   21

You must play with the leftOffset value for both interactive and read-only 
objects because the internal composition differs (as explained above) and the 
beginning location of the data differs between the two types of KxScrolledLists.
You will have to repeatedly edit the values (be careful not to leave a space at 
the end of the line) and bounce Sun MTPScan until you find the values that work for 
your display. Note that the columns can line up only when the KxScrolledList's 
font is a fixed font, and both the header and the contents must use the same
font.

See also: PushButton, ScrolledList, ScrolledWindow, Text
