[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

715.0. "Can't find Disable in Manuals" by ENGLES::WALSH () Tue May 02 1989 14:04

    I am writing an application with UIL.  How do I disable widgets
    from within program control.  If a user selects a certain widget
    I want to gray-out options that do not make sence. 
    
    Dan
    

T.RTitleUserPersonal
Name
DateLines
715.1sensitivitySMAUG::FLOWERSIBM Interconnect Eng. 226-7716Tue May 02 1989 14:207
From within the UIL use the "sensitive = false" attribute.

From within your program, use XtSetSensitive(widget_id, FALSE);   Note
that this also sets the sensitivity of any children of that widget...

another Dan