This routine has been replaced with the Close method to ENVIView.

This procedure closes a display group.

Syntax


ENVI_CLOSE_DISPLAY, DN

Arguments


DN

This keyword cannot be used to reference the ENVI display. It is only for use with ENVI Classic display groups.

This is the display number corresponding to a display group. Display numbers (DNs) are zero-based; for example, the following code closes Display #3:

envi_close_display, 2

You can retrieve DNs in the event handler of user-managed display events. For example, use the following code to retrieve the uvalue for ev.top:

widget_control, ev.top, get_uvalue=dn

API Version


3.7