Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01

Summary:
Question: 'ESC' in my project is programmed to mean 'Silence the audible alarm'. It also appears to be an 'inbuilt' function (at least I can't find it anywhere visible) such that when a Form is displayed on top of a Page at runtime and you press 'ESC', the form is deleted and freed. How can I stop this from happening? 

Solution:
You are correct the 'ESC' key will automatically close a Form, 'RETURN' will also have the same effect. To stop the 'ESC' or 'RETURN' key from closing your forms use mode 128 in the FormNew() function when you create the form. See online help for full details. 

Keywords:
 

Attachments