[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

1854.0. "Sensitivity on a secondary pulldown menu" by RABBET::FARRELL (Money, there is no substitute!) Wed Dec 06 1989 08:17

    
    Hello,
    
    I have a pull-down menu inside a pull-down menu and can't seem to
    get what I want.  
    
    I want to set the menu option to non-sensitive at a certain part
    in the program.  Well, I set the pulldown widget sensitive=false
    but although the label itself becomes non-sensitive (I don't want to
    say insensitive because I don't know it that well), the little
    secondary pulldown menu (left bracker and right arrow) stays sensitive.
    
    I have tried making the pulldown_entry icon sensitive=false and the
    pulldown_menu icon sensitive=false.  This makes everything
    non-sensitive, but you are still able to select the second pulldown
    menu, even though those choices too are now non-sensitive.
    
    Could someone help me get the second pulldown menu trigger to become
    non-sensitive?
    
    thanks,
    
    		$$$$ ted $$$$
T.RTitleUserPersonal
Name
DateLines
1854.1Run-time?MELTIN::dickGvriel::SchoellerWed Dec 06 1989 10:258
Ted,

It sounds like you're making these changes at run-time.  Is that correct?
Are you using XtSetValues or XtSetSensitive?  The former only sets the
widget specified the latter sets the widget and all of its children.  In
most cases you should use XtSetSensitive.

Dick
1854.2BINGO!RABBET::FARRELLMoney, there is no substitute!Wed Dec 06 1989 10:549
    
    
    Thanks Dick,
    
    Yes, I am making the changes at run-time and I was using XtSetValues.
    I will change the code to use XtSetSensitive.  Thanks for your quick
    response.
    
    	$$$$ ted $$$$