Form_OnLoad event

This event occurs before a form is displayed on the device panel.

Form_OnLoad ( form )
Argument Description
form The form object that is being loaded.

Remarks

You can use this event to perform tasks such as initializing the form fields or the form scan settings.

Example


Sub Form_OnLoad(Form)
  ’Write custom code to lookup the authenticated user’s home directory.
  Form.SetFieldValue ”Path”, LookupHomeDirectory(Form.UserName)
End Sub