[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

making dialog items invisible

Stacy Marsella writes on Sun May 23 00:55:30 1993:
  Any suggestions as to how one can make dialog items
  invisible - e.g., something that has the functionality
  of window-show and window-hide.
Provided that you're using MCL2.0, the view-hide and view-show
functions will do exactly what you want.
 (setq win (make-instance 'window))
 (setq dialog-item (make-instance 'editable-text-dialog-item 
                  		  :view-size (make-point 100 20)))
 (add-subviews win dialog-item)
 ; (view-hide dialog-item)
 ; (view-show dialog-item)