PowerBuilder Units
\The Sandbox \PB History & Future \New In PB6 \Multiplatform Support \PowerBuilder Units
Font Mapping
PowerBuilder
Units

Description

The size of PowerBuilder units (PBUs) is defined in terms of logical inches instead of as a fraction of the size of the system font. The size of a logical inch is defined by your operating system as a specific number of pixels. The number is dependent on the display device. For example, on a Windows 95 system using Small Fonts on a standard VGA display, the number of pixels per logical inch is 96.

Purpose

This change prevents undesirable resizing of the information in a window or DataWindow when deploying applications on different platforms. Previously, when an application was deployed on a system that had a different system font size from that on which the application was developed, information in windows and DataWindows was compressed if the system font on the deployment system was smaller or spread out if it was larger, because the size of a PBU was determined by the system font size. 

Usage

PBUs are the units used for the design of windows, visual user objects, and optionally DataWindows. This change affects windows and DataWindows designed using PBUs that were developed under the Macintosh and Solaris operating systems, and also those developed under Windows if a system setting of Large Fonts was used by the developer. Controls on these objects may need to be resized after migration. Once migrated and fixed, they display correctly on all platforms.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com