Offline (Magic xpa 3.x)
If you select the Rich Client task type, the Offline check box will appear.
This property defines whether the program will run without accessing the server.
Offline programs:
-
Run on the client side only.
-
Never connect to the server (not even to open or close the program).
-
Cannot perform server-related actions (such as server functions and calling non-Offline programs)
When using an application with only Offline programs, the application can run without a server, except for the first execution which is mandatory to download all the required files (such as keyboard mappings and Offline programs).
Note that if you need to call an Offline program from a component, the component must be defined with the Load Immediate property set to Yes.
The Offline programs can indirectly call regular (non-Offline) programs only by raising an event that is captured in the Main Program and then calling the regular program from that event handler. This means that all of the non-Offline programs that were called from Offline programs are opened under the Main Program, both on the client and server.
Note: When closing the Offline program, a called non-Offline program might not be closed automatically.
Offline tasks can only have Offline Rich Client subtasks.
Developing Offline Rich Client Applications