SetDisplay
This function sets additional (alternate) display names for an application. This provides a display "container" for variations to the applications such as when the app runs in a different languageor is used with special prompt captions (i.e. Extra large text if displaying on a forklift). The prompts may have their font sizes changed to be seen more easily on large displays from a distance. The underlying code references the prompts by their Field ID or number so the many displays of the application only need one code base.
See also App.Display.
Group: Application-Based Extension
Syntax: App.SetDisplay (sDisplay)
sDisplay (String) the name established for the alternative application display.
Note: In RFgen 5.2, the ability to modifyor set the display's width and height programatically was removed. The original purpose of modifying a display's dimensions was for telnet systems which are not supported in 5.2. The client size is now determined by the RFgen client.
Example:
For example, if you had these displays created:
-
Default
-
Spanish
-
Forklift
Then this command will bring up the last display:
App.SetDisplay(“Forklift”)
Version Supported: RFgen 4.0, 4.1, 5.0, 5.1, 5.2 and newer.