ScreenResolution (Read Only) |
Top Previous Next |
This property holds the Resolution configured on the application profile.
Delphi Syntax
Remarks WebFMX allows you to configure different resolutions for the Web interface as it is explained on the application profile settings. The possible resolutions include "Fit to browser window" and "Fit to screen". These two options will adjust the application resolution according to the browser/screen size. The other resolution option are fixed values for the width and height of the application surroundings, such as "640X480" and "800X600". When you select one of these fixed resolution values for your application, WebFMX will not resize automatically the application when an end-user resizes its browser window.
In order to modify the application resolution, you should use the method ResizeRemote.
WebFMX also provides the OnBrowserResize event that will be fired whenever the end-user resizes its browser window. Through this event, you will be able to customize the application resizing behavior. You may use the environment variables provided on the RemoteInfo object, such as BrowserWidth, BrowserHeight, ScreenWidth and ScreenHeight in order to find out the user environment dimensions.
See Also You may also read the topics Width, Height, BrowserWidth, BrowserHeight, ScreenWidth and ScreenHeight regarding the application resolution.
|