Product |
ScreenSize |
Manufacturer |
Standard Satellite Forms component |
Website |
|
Source code provided |
No |
Platform |
PocketPC |
Sample project(s) |
GetScreenSize |
Keywords |
width, height, size, pixels, rotate |
The ScreenSize extension gives you information about the current screen size on the PocketPC device. It can be used as a plug-in extension just by calling the GetScreenSize, GetScreenWidth, or GetScreenHeight script functions as desired, or it can be used as an SFX control that will fire an event when the screen size changes. The event that is fired is the Action event for the ScreenSize form control, which can be Run Script or JumpToForm or something else. For example, in the action script you could call the GetScreenSize function, and then move/resize controls on the form to adapt to the changed screen size. There are no SFX control properties for the ScreenSize control. It is not visible on the PDA screen.
Method Description
GetScreenSize Return screen dimensions in string WWWxHHH.
GetScreenWidth Return screen width.
GetScreenHeight Return screen height.
DocID: 10197 DocDate: 2008-05-28