You can display own messages and error messages using the design.
This command allows to display a message in a screen which uses the same design as .
Tips
•Use GetLanguage to retrieve the language the user selected •Use SetRegisterSettings to define the logo image •Use ShowStartErrorPage to display a standard error screen •Use SetCustomerText to change the wording on default screens
Name
|
ShowMessagePage
|
Purpose
|
Shows a message in an EasyGo-like screen
|
Params
|
Parameter
|
Type
|
Example
|
Note
|
Title
|
String
|
‘Attention’
|
The title of the message.
|
Header
|
String
|
‘Something happened…’
|
The header of the message.
|
Text
|
String
|
‘This is a sample text’
|
The text of the message.
|
ShowLicViewer
|
Boolean
|
True
|
A link to open Licence Protector’s licenseViewer can be displayed if true.
|
|
Returncode
|
Returncode
Type Integer
|
Note
|
0
|
Ok
|
8194
|
Function is not implemented
|
|
Usage
|
ShowMessagePage should be used to display messages in an EasyGo environment. SetRegisterSettings should be used to set properties like the image on the side.
|
Sample
|
<< you want to inform the user about something >>
ShowMessagePage(‘Attention’, ‘Something happened…’, ‘This happened:…’, false);
...
|
See also
|
ShowStartErrorPage
|
 Customized screen
|
This command allows displaying an error message in a screen which uses the same design as . The error number must be a valid error code - see list of error codes.
Use SetCustomerText to change the wording on default screens
Example
Error Code 32 (no free license) would pop-up this error screen.
Name
|
ShowStartErrorPage
|
Purpose
|
Shows a Licence Protector error message in an EsayGo-like page.
|
Params
|
Parameter
|
Type
|
Example
|
Note
|
ErrorNo
|
Integer
|
16
|
Errornumber
|
|
Returncode
|
Returncode
Type Integer
|
Note
|
0
|
Ok
|
8194
|
Function is not implemented
|
|
Usage
|
ShowStartErrorPage should be used to display error messages in an EasyGo environment. SetRegisterSettings should be used to set properties like the image on the side.
|
Sample
|
iRes := lic.Validate(‘D1001’, ‘’, true);
if iRes > 1 then
begin
ShowStartErrorPage(iRes);
end
else
begin
<< successfully validated >>
...
...
|
See also
|
Error numbers, SetRegisterSettings, PrepareAndCheck (EasyGo)
|
Note
The user can terminate the screen only with the END button. The error code is always 0 (and not 4) to indicate, that the message was displayed properly.
|
|
|

Use SetCustomerText to change the wording on default screens