OnCreate
This event is called at the start of the page, when the object is created.
Implicit arguments
Object@ self
Handle to the associated object.
Sample
event MyEvent.OnCreate { // Turn object red self.SetColor(Color("red")); }