My apologies for not being more descriptive 😞
Let me try to demonstrate:
The ThisEvent object represents an ArcPad event that is occurring at a particular time and supplies a series of standard properties such as object, name and result.
For example: a person is an object. It has properties such as NAME, AGE and GENDER. It also has events such as TALK, RUN and SIT. However, using ThisEvent.object exposes that the RUN event has properties: DIRECTION and SPEED. So every time the person runs we can tell how fast they are going.
An ArcPad example could be to check if the textboxName has a value entered using it's onValidate event -
If textBoxName = ""
then
ThisEvent.Result = False
ThisEvent.MessageText = �??Please enter a Name�?�
End If
As you can see, instead of writing "layer.forms("EDITFORM").pages("PAGEONE").controls("textBoxName")", I have used ThisEvent to refer to the control. This also allows for the re-use of scripts as ThisEvent is generic and can be used to refer to any control, simply copy your script to run on different control events.
Hope this is more helpful,
Hannah 🙂