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 |
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.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3047.1 | What compound string? | CSC32::B_KEMP | X'ed out TopFlite | Mon Jul 09 1990 11:55 | 4 |
The current selection? In a callback? What attribute is the customer trying to extract with the XtGetValues? Bill | |||||
3047.2 | more info | MLNCSC::VOCI | Wed Jul 11 1990 05:09 | 5 | |
1) what do you mean by "selection" ? 2) the customer is tring to extract the value of a compound string Thanks, Gea. | |||||
3047.3 | RTFM | CLTMAX::dick | Schoeller - Failed Xperiment | Wed Jul 11 1990 11:20 | 9 |
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 |