Difference: 0LASubrClientLoadUrl (8 vs. 9)

Revision 92012-04-12 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPXRuntimeSubroutineAPI"

.CLIENT LOAD URL

Line: 27 to 27
 
  • The constant $print: followed by the path and file name of any file accessible to the user's PC. The file will print on the default printer.
  • The constant $printSetup: will display the Windows Print Setup dialog box. You could use this to allow the user to select a printer before using the $print: URL.
  • The constant $newsession: followed by the necesary parameters to open a new session. This spawns a new session connected to the same server as the current session. In the parameters section, you can put any client setting. For example, you might have a program that requires a different number of rows and columns. Now you can add a menu item that starts a new session with the correct screen size, e.g., $newsession: -screenRows=28 - screenColumns=110 -runDatabase=DMO - runProcessType=INPUT - runProcess=”ORDER_ENTRY” - runApplication=COE
Changed:
<
<
  • The constant $setprop: followded by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
>
>
  • The constant $setprop: followed by {property}={value}. This allows you to change the client properties from ILF code.
    Not all properties can be changed while the client is running. To see what can be changed, run the client and connect to a server, then go to File/Preferences. Everything you are allowed to change there can also be changed via this URL. For example, to turn dialog boxes on for errors you would use '$setprop:showErrorDialogs=true'. The change is only for the duration of the session. Another way to change client properties is via the '$newsession:' URL. That URL will let you set any property in a new session.
 Also see .CLIENT PLAY SOUND.

Comments:

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback