PDA

View Full Version : Tip: execute setup when app is loaded



barrymavin
2015-10-28, 00:39
Just a reminder as I was asked this yesterday,

Just before an App is loaded if any of the following files exist in the app directory they are executed just before the app itself is loaded.

setup.prg (app builder)
setup.dbo (app center runtime)
setup.js
setup.php
setup.py

The init delegate is then executed

The app UI is then loaded.

Followed by other delegates in this order for the App, the pages, the sections of each page and the fields and gadgets of the sections.

load delegates
ready delegates