UI Enhancements for XP Look & Feel
\The Sandbox \PB History & Future \New In PB 9 \New In PB 9.0.1 \XP Look & Feel
XP Look & Feel
PBNI Support
for Any
PBXDraw
VisualObject
PBNI
Source Files
SetProxy
ServerOptions
Heap Manager
Included
Hiding the JSP
Page View
Menu Options
Select Painters
New Excel
Save Format
DBParm: PBNew
SPInvocation
Additional
9.0.1 Changes

Description

When you deploy an application, you can specify that it will use the Windows XP style for visual controls if it runs on a Windows XP system.

Usage

With the Windows XP operating system, Microsoft introduced a new visual style for controls. In the Windows XP control panel, you can choose to use a Windows XP theme, which sets properties such as background, sounds, and icons, as well as the default style of controls. You can also choose to use the Windows XP style for controls even if you are not using a Windows XP theme.

When you build an application on any operating system, you can specify in the Application Project wizard or the Project painter that the application should use the new style. To do so, select the New Visual Style Controls check box.

Checking this box adds a manifest file to the application that specifies the appearance of the controls as an application resource. When a user runs the application on Windows XP with the Windows XP style for controls set in the control panel, all PowerBuilder windows, DataWindow controls that mirror standard Windows controls, and all other controls, display with the new style.

On other operating systems, and on Windows XP systems that do not use the Windows XP style for controls, the application uses the classic style.

OrcaScript argument An optional command-line argument, newvstylecontrols, has been added to the build executable command line in the OrcaScript language. Using this argument has the same effect as selecting the new check box in the Project wizard or painter. The syntax is now:

    build executable exeName iconName pbrName pbdflags [machinecode] [newvstylecontrols]

For example:

    build executable "d:\work\myapp.exe" "" "" "y" newvstylecontrols

Note In the Windows XP environment, the TabBackColor property for TabPage objects and user objects used as tab pages is not supported.

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

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