Click or drag to resize

App.Exec Method (Typed)

X#
Start the event handling loop for the application.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD Exec() AS LONG
Request Example View Source

Return Value

Type: Long
A value of 0 indicates normal termination (no errors). A non-zero value indicates abnormal termination.
Remarks
Normally, the event handling loop for the application continues looping until there are no more EventContext objects. It can also terminate upon calling App:Quit().
Tip Tip
Make sure that you show at least one window object before calling App:Exec().
See Also