[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3047.0. "getvalue for compound string" by MLNCSC::VOCI () Mon Jul 09 1990 12:32

    A Customer would like to get the value of a compoud string from
    a list box. He used a xtgetvalue but nothing is returned.
    He tried the same thing with a label contained in the list box and
    every thing works fine.
    
    Is ther a way to get the value of a compound string contained in a
    list box ?
    
    Thanks,
    Gea.
T.RTitleUserPersonal
Name
DateLines
3047.1What compound string? CSC32::B_KEMPX'ed out TopFliteMon Jul 09 1990 14:554
     The current selection? In a callback? What attribute
is the customer trying to extract with the XtGetValues?

Bill
3047.2more infoMLNCSC::VOCIWed Jul 11 1990 08:095
    1) what do you mean by "selection" ?
    2) the customer is tring to extract the value of a compound string
    
    Thanks,
    Gea.
3047.3RTFMCLTMAX::dickSchoeller - Failed XperimentWed Jul 11 1990 14:209
In a list box there are (possibly) many compound strings.  One for each item
in the list.  If the customer wishes to get the complete contents of the box,
he should do XtGetValues of DwtNitems and DwtNitemsCount.  This will return
an array of pointers to compound string structures.  If the customer only
wants those items which are selected, then he should get DwtNselectedItems
and DwtNselectedItemsCount.  All of this is fairly clearly documented in
the VMS DECwindows Toolkit Routines Reference Manual.

Dick