AboutWindow (Manual Event audit)

Top  Previous  Next

In the "About" window there is a second button added, labeled "Don't touch me".

 

clip0068

 

In the event "Accepted" for the "Don't touch me" button there is a piece of manual code;

 

  SaveAuditMessage('The forbidden Button was pressed; LOC:Counter = '& LOC:Counter)

 

LOC:Counter is a local static LONG type variable.

 

The code is embedded as follows:

 

clip0069

 

With this code, when you press the button, the message "The forbidden Button was pressed" and the actual value of the local variable is saved into the Audit queue.

 

You will see the manual event in the correct order between the file audit operations.

 

clip0070

 

If you press the "View Record" button, you will see the whole message saved.

 

clip0071