DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtDrawnListGetSelectedItem(VTCL)


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

02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005