Starting the AlphaSports Application
The OnInit Event.
The OnInit event gives the developer the opportunity to configure the form (or application) environment before the user sees the first form or can execute any functions. In most cases the developer wants to present a seamless, self contained application, and this implies cutting off access to the Control Panel .
The OnInit event runs a single line of Xbasic code, which hides the Control Panel from the operator.