ability to halt an event.... - 28/02/08 04:09 PM
I had asked about this in the script help forum and they suggested i request it.
i want the ^ prefix to be able to halt an event before it happens... like if i want to close a window
if its true let it do nothing to close.. otherwise halt.. or use '/continue' to close it
i want the ^ prefix to be able to halt an event before it happens... like if i want to close a window
Code:
on ^:CLOSE:@Window:$iif($input(Are you sure?,yvd,Close?) == $yes, , halt)
if its true let it do nothing to close.. otherwise halt.. or use '/continue' to close it