[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

2246.0. "single_selection=false problem" by TOWNS::RUFFIEUX () Fri Feb 09 1990 19:03

    
    
    Greetings,
    
    	I have been having some unusual problems for some time now 
    trying to set single_selection to false in a list box.  I have
    tried declaring it in UIL and doing a set arg in my C code and
    both have failed.  I did a DIR/TITLE=Selection but did not come
    with anything.  
    
        Here is my UIL for it:
    
    object
        plot_list_box : list_box
        {
    	    arguments
    	    {
     		x = 10;
    		y = 50;
    		height = 270;
    		width = 155;
    		single_selection = FALSE;
    		items = file_list; 	
    
    	     };
    	     callbacks
    	     {
    		create = procedure create_proc(plot_list_box_widget);
    		single = procedure unpacker_proc(msp_unpacker_dialog_widget);
                extend = procedure unpacker_proc(msp_unpacker_dialog_widget);
    	     };
          };
    
    
    I've event tried this in my C:
    
    
    XtSetArg(al[0],DwtNvisibleItemsCount,9);
    XtSetArg(al[1],DwtNsingleSelection,FALSE);
    XtSetArg(al[2],DwtNitems,file_name);
    XtSetArg(al[3],DwtNitemsCount,count);
    XtSetValues(widget_array[plot_list_box_widget],arglist,4);
    
    
    I am running VMS 5.2 if it matters.  I thought there might be
    some kind of bug??  Thanks for any replies in advance.
    
    Regards,
    
    CER
    
    
    
    
T.RTitleUserPersonal
Name
DateLines
2246.1There may be an easier way...DECWIN::KLEINMon Feb 12 1990 14:385
You could always "give up" and use the VList widget.

:)

-steve-