VtDrawnListGetSelectedItem(1vtcl)
VtDrawnListGetSelectedItem -- return the position of selected items from DrawnList
Synopsis
VtDrawnListGetSelectedItem
drawnlist_widgetName
[
options
]
Description
Returns the selected items in the DrawnList, returns byPositionList if you do not specify any options.
Options
-byPositionList
(NA)
Return items by position list (for example, {1 2 3 4}).
-byRecordList
(NA)
For the DrawnList, returns a list of lists of fields; for example:
{ { 0 1 "field one" "field two"} { 1 1 "field one" "field two"} { 1 3 "field one" "field two"} }
Return values
If
VtDrawnListGetSelectedItem
fails, it returns one of the following error messages:
NOT_DRAWNLIST
referenced widget is not a DrawnList
OPTION_COUNT
too many or too few options specified
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004