SatelliteForms.net     
HomeInformationProducts and SupportContact UsShopping CartSatFormsDev ForumSolutions Guide
 

ScreenSize PocketPC
 
 

 
Description:

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.

Installation:

1. Close Satellite Forms App Designer.
2. Copy ScreenSize.inf to \Satellite Forms 7\Extensions\Standard\ folder.
3. Copy SFE_ScreenSize.sfx to \Satellite Forms 7\Extensions\Standard\PPC_ARM folder.
You can then restart App Designer, and the ScreenSize extension will now be available to add to your PocketPC projects.

SFX Control Usage:

Place the ScreenSize SFX control on your form(s). When the screen size/rotation changes, the Action event of the ScreenSize control is fired. Expected usage is to have a Run Script action which gets the new screen size using GetScreenSize, GetScreenWidth, or GetScreenHeight, and then moving/resizing form controls if desired using the ControlName.SetPosition script method.

Script Method Usage:

GetScreenSize - Return screen dimensions in string WWWxHHH.
scrsize = GetScreenSize()
Example return value: 240x320

GetScreenWidth - Return screen width.
sWidth = GetScreenWidth()
Example return value: 240

GetScreenHeight - Return screen height.
sHeight = GetScreenHeight()
Example return value: 320

  • Download: ScreenSize.zip
  • Size: 6KB
  • Date: 2006-11-22
  • Satellite Forms 7.0 or higher is required


Reference:SFX-SCS-001

Manufactured by:Thacker Network Technologies Inc.

 
RefSFX-SCS-001
Description ScreenSize PocketPC

Return to  Software Updates and Patches    
HomeInformationProducts and SupportContact UsShopping CartSatFormsDev ForumSolutions Guide
    

SatelliteForms.net
Thacker Network Technologies Inc.,  5338 - 51 Ave.,  Lacombe,   Alberta,  T4L 1N5   Canada
Tel: 403-782-5432   Fax: 403-782-1794