[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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.R | Title | User | Personal Name | Date | Lines |
---|
1854.1 | Run-time? | MELTIN::dick | Gvriel::Schoeller | Wed Dec 06 1989 10:25 | 8 |
| 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.2 | BINGO! | RABBET::FARRELL | Money, there is no substitute! | Wed Dec 06 1989 10:54 | 9 |
|
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 $$$$
|