OnPreShow

<< Click to Display Table of Contents >>

 

OnPreShow

OnPreShow(Arg)

This event occurs before displaying a Screen. The Arg parameter receives the content of the Arg parameter of the OpenScreen or ShowScreen methods, which generate this event. After that, the OnShow event is generated. Example:

Sub Screen1_OnPreShow(Arg)
  ' Screen1's title to display
  ' was passed as a parameter when using the OpenScreen
  ' method that generated this event.
  Caption = Arg
End Sub

Was this page useful?