BackgroundPicture

[property icon] BackgroundPicture

Specifies the picture to be used as the grid's background

Integer SYM index property

Applies to: Grid

Introduced in KCML version 6.60


>BackgroundPicture

BackgroundPicture

The BackgroundPicture property allows a picture object to be assigned to a control that supports it (see list of controls supporting pictures). This property allows both stock pictures and pictures objects created within the forms designer to be assigned.

 .gridControl1.cell(row, col).Picture = &Information
 .picControl1.Picture = &Satellite

It can also be used to set the background picture of a form itself. Note that the PictureAlignment property is used to change the default position of the picture, for example:

 .form.Picture = &Satellite
 .form.PictureAlignment = &BottomLeft

An example KCML program you can paste into a KCML workbench session demonstrating the full list of stock pictures is available below:

See also

Grid methods, properties and events.