Multiple Orientation Painter for windows  Support for bypassing the printer setup dialog box

Release Bulletin PocketBuilder™ 2.0.4

MOP Views for User Objects and DataWindows

The User Object and DataWindow painters also include a MOPView Manager. You can use the View>Runtime MOP Views>MOPViewManager menu item in the User Object or DataWindow painter to create multiple views for a custom visual user object or a DataWindow—with the same orientations available to PocketBuilder windows.

For more information on the available views, see Multiple Orientation Painter for windows.

When you open a window containing a user object or DataWindow at runtime, PocketBuilder automatically selects the view of the user object or DataWindow that correlates with the current view of the window.

NoteWhen screen orientations do not have a corresponding view If you do not create a specific view for the selected orientation, the last view saved in the painter is displayed at runtime. In this case, the objects in the DataWindow or visual user object do not necessarily display with optimal sizes and positions for the user-selected orientation.

Property specificity

For a DataWindow with multiple views, the position (x and y) and dimension (width and height) properties of the DataWindow and its column, text, and control objects are view-specific. However, the height properties of the DataWindow bands are not affected. The position and dimension properties of a visual user object are also view-specific. All other properties are specific to the DataWindow or visual user object—that is, they apply to all of its defined views.

The source code in the PKL file includes only the last position and dimension properties saved in the DataWindow or user object painter for the DataWindow, visual user object, or the controls on those objects.





Copyright © 2006. Sybase Inc. All rights reserved. Support for bypassing the printer setup dialog box

View this release bulletin as PDF