[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

2002.0. "Session Manager "problem"?" by CDROM::DUPREZ () Thu Jan 04 1990 14:02

    
    I'm having a problem with the behavior of an application.  It's
    basically just a list box.  I want a single click to display the
    text of the choice just below the list box, and I want a double
    click to display the choice below the list box, then go out and 
    perform an action.
    
    When I run the application interactively out of a DECterm window,
    it behaves just as I mentioned above.  However, when I put it
    in as an entry in the new Session Manager Applications menu and
    run it, it behaves differently.  The single click just highlights
    the choice, and the double click puts the choice below the list
    box, but does not perform the second callback that I requested.
    
    Related info:  VMS V5.3, DECwindows V2 - both C code and UIL code
    		   were compiled and run on the 5.3 system
    
    Here's the UIL code that I used.  By the way, if there's a better
    mousetrap, please feel free to tell me about it:
    
    object ls_course_list : list_box
        {
        arguments
            {
            x                       = X_MARGIN;
            y                       = Y_MARGIN + 15;
            visible_items_count     = 10;
            };
        callbacks
            {
            create = procedure create_widget (LS_LIST_BOX);
            single = procedure ls_callback();
            single_confirm = procedures
              { ls_callback();
                apply_widget(LS_DIALOG);
              };
    /*      single_confirm = procedure ls_callback ();  */
            };
        };
    
    I had just seen the documentation on performing multiple procedures
    off of a single callback and figured it was worth a try.  Thanks
    for any help anybody can give.
    
    						Roland
                                                      
T.RTitleUserPersonal
Name
DateLines
2002.1got itCDROM::DUPREZWed Jan 10 1990 11:196
    
    Figured it out.  I wasn't specific enough in referring to my .UID
    file - it was finding an older version in another directory and
    messing things up completely...
    
    						Roland