Autosize Height on all DW Bands
\The Sandbox \PB History & Future \New in PB 10.5 \DW Enhancements \Autosize Height on all DW Bands
TreeView DW
Present'n Style
Decimals in 
DW Expressions
New DDDW Style
in Web DWs
HTMLGen.
PagingMethod
DW Drop-Down
Calendar Option
Autosize Height
on all DW Bands
Suppress Group
Headers
Hide Print Preview
Blue Outline
dbAlias DW
Property
ResetInk, SaveInk, 
and SaveInkPic

In PowerBuilder 10.5, the Height.Autosize property can be set on any band of a DataWindow. In earlier PowerBuilder releases, this property was available only for the Detail band.

Restrictions on the Height.Autosize property

  • The Height.Autosize property is not supported on DataWindows with Graph, Label, OLE, or Rich Text presentation styles.
  • Nested report overflow to the next page is supported in Detail bands only.
  • Bands cannot be autosized if autosizing would preclude the display of at least one Detail band row per page.

Selecting the Height.Autosize property sets the minimum height for the band, allowing it to display the entire content of a picture or a nested report. You can select this property on the General tab of the Properties view for a DataWindow band. At runtime you can modify the Height.Autosize property for a DataWindow band in PowerScript®:

    dw_2.modify ("DataWindow.header.height.autosize=yes")

    dw_2.modify ("DataWindow.footer.height.autosize=no")

For more information, see the description of Bandname.Property in the DataWindow Reference or the online Help.

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

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