Show all scripts

Image closed or not

Category: Data Display
Description: This is an example script showing how to handle images (create, delete and detecting whether image is closed by user) from a dialog (i.e. UIFrame object). The script also illustrates how to attach a "close alarm" to an image so the dialog can catch the image closing event. The script must be installed as a "library", then execute the script by typing this following command: alloc(UIFrame_ImageClosedOrNot);
Comments: Thank Bernhard Schaffer for the idea of catching image close event by attaching a dummy key handler.
Script version: 1.0
DM/GMS version: 1.5.1
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download