Description of Appeon client functions

The following table provides the client functions and their return values. Note that some Appeon client functions are just interfaces provided by the Appeon system; they have empty function bodies and empty return values for the PowerBuilder applications.

Table 5. Client functions with their return values

Functions

Return value when executed in PowerBuilder

Return value when executed in Appeon application

AppeonGetAppeonUserName()

None.

This function has no effect in PowerBuilder.

The user name typed into the Appeon Login dialog.

AppeonGetBrowserVersion()

None.

This function has no effect in PowerBuilder.

The version of the Internet Explorer browser that runs the current Web application.

AppeonGetClientID()

The unique session identifier for PowerBuilder client.

The unique session identifier for the Web client.

AppeonGetCacheDir()

None.

This function has no effect in PowerBuilder.

The cache directory that is used by the current Web application.

AppeonGetClientIP()

The IP address of PowerBuilder client machine.

The IP address of the Web client.

AppeonGetClientType()

"PB"

"WEB" if the application runs on a Web browser, or "MOBILE" if the application runs on a mobile device.

AppeonGetHttpInfo (string attribute)

None.

This function has no effect in PowerBuilder.

The HTTP header information from a particular request.

AppeonGetIEHandle()

None.

This function has no effect in PowerBuilder.

The Internet Explorer handle for the current Web application.

AppeonGetIEURL()

None.

This function has no effect in PowerBuilder.

The URL of the current Appeon application.

AppeonGetOSType()

The type of the OS that runs the PowerBuilder client application.

The type of the OS that runs the current Web application.

AppeonGetRemainingdays (String as_type, ref string as_error)

None.

This function has no effect in PowerBuilder.

The remaining day(s) of license or technical support.

AppeonGetServerType()

None.

This function has no effect in PowerBuilder.

Returns 1 if the application runs on an Appeon Server that is installed to a J2EE Server (such as WebLogic).

Returns 2 if the application runs on an Appeon Server that is installed to a Microsoft .NET Framework\IIS.

AppeonIsIn64Browser None. This function has no effect in PowerBuilder. Returns "true" if the application runs on a 64-bit IE browser. Returns "false" if the application runs on a 32-bit IE browser.

AppeonLDAPLogon (string as_username, string as_password)

None.

This function has no effect in PowerBuilder.

Login username and password for the LDAP server.

AppeonPopMenu (Datawindow adw_dw, Integer nx, Integer ny)

None.

This function has no effect in PowerBuilder.

None.

At the execution of the function, AppeonDataWindow menu is displayed at the specified position on the specified DataWindow control.

AppeonPopMenu has higher priority than AppeonPopMenuOn.

AppeonPopMenuOn (Datawindow adw_dw, Boolean ab_show)

None.

This function has no effect in PowerBuilder.

None.

At the execution of the function, AppeonDataWindow menu pops up when you right click on the specified DataWindow.

AppeonPrint2File (datawindow adw, string asoutpath, string asoutname, long alouttype)

None.

This function has no effect in PowerBuilder.

Integer.

Returns 1 if it succeeds in printing the specified DataWindow/DataStore as a PDF or an image file of BMP, JPG or GIF format, otherwise, returns -1.

AppeonSwitchRealTimeCalc None. This function has no effect in PowerBuilder. Returns 0 (default value) if need to perform real-time calculation. Returns 1 if no need to perform real-time calculation.