Every window (and control) has a style that determines how it appears to the user. You define a window's style by choosing settings in the Window painter’s Properties view. A window's style encompasses its:
Type
Basic appearance
Initial position on the screen (response windows)
Size at design time
Runtime size of main windows depends on the device where you deploy your application.
When you define a window's style in the Window painter, you are actually assigning values to the properties for the window. You can programmatically change some elements of a window's style during execution by setting its properties in scripts, although other style selections must be made prior to the loading of the window on the deployment device.
For a list of window properties, see Objects and Controls in the online Help. Because of target platform differences, some of the properties listed for PowerBuilder windows do not apply to PocketBuilder windows.
For descriptions of window properties that are specific to PocketBuilder (that is, they do not apply to windows in PowerBuilder applications), see Appendix B, “PowerBuilder and PocketBuilder Product Differences,” in this User’s Guide.
To specify window properties:
Click the window's background to display the window’s properties in the Properties view.
Choose the tab appropriate to the property you want to specify:
Choose this tab |
To specify the window's |
---|---|
General |
Name, type, state, navigation bar button, default design-time size setting, color, and whether a menu is associated with it |
Scroll |
Horizontal and vertical scroll bar placement |
Other |
Position and size on the desktop and whether or not to display a tap-and-hold indicator on the Pocket PC |