Special Rules

onCreate

If a design contains a rule named onCreate, that rule is demanded after an instance of the design is created. This is useful for executing some initialization code for a design.

' rule in some design
Rule onCreate As Any
   ' some code to execute
   ' and some value to return
End Rule