2.256 .picwidth

For listbox and poptext, this attribute defines the width of the images shown at each list item. For listview it defines the width of the large icons.

For the notebook, the attribute defines the width of the pictures shown in the tabs of the individual notepages.

Definition

  • Data type

    integer

  • Access

    get, set

  • changed event

    no

listbox, poptext

The attribute defines the width of the space to the left of the entries where the pictures (tile resources) are displayed that have been assigned to the individual entries in the attributes .picture[integer] and .picture_hilite[integer].

Wider or narrower pictures are centered horizontally within this space. For tile resources with .scale = true their width is scaled to .picwidth.

listview

This attribute defines the width of the large icons.

Value range

0

The width of the icons is determined by the system.

> 0

Width of the large icons.

The large icons will be shown in the icon view (.style = "icon", .style = "picture") and in the tile view (.style = "tile").

For invalid values, the default value 0 is used. However, the attribute value is not changed.

If .picheight = 0 then .picwidth also determines the height of the large icons.

Note

Changing the attribute in the visible state may cause the object to flicker.

notebook

The attribute defines the width of the pictures displayed in the tabs. The tile resources to be displayed are assigned to the notepages in their .picture attribute.

The value range is .picwidth >= 0. For .picwidth = 0 the width is determined by the system and is 16 pixels.

The width of the pictures is scaled to .picwidth regardless of the .scale attribute on the tile resource.

The attribute is only available on Microsoft Windows.