[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
making dialog items invisible
- Subject: making dialog items invisible
- From: "Mark A. Tapia" <markt@dgp.toronto.edu>
- Date: Sun, 23 May 1993 11:51:44 -0400
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)
mark