In PocketBuilder 2.0.1, you can control picture size in runtime toolbars by setting the PictureWidth and PictureHeight properties. The toolbar shrinks or grows to fit the height, and the toolbar buttons shrink or grow to fit the width and the height you set. Pictures you select for the buttons are automatically scaled to the picture width and height settings. This feature is particularly useful for VGA devices.
For the Toolbar control, you can set the PictureWidth and PictureHeight properties in script whether or not there are images in the PictureName property array. For the TreeView control, the PictureName array must be empty before you can set the PictureWidth and PictureHeight properties.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |