Starting the AlphaSports Application
The OnInit Event.
Main Menu 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 developer should always preserve some way to access the Control Panel, in case its tools are required to solve a problem.
The OnInit event runs a single line of Xbasic code, which hides the Control Panel from the operator.