HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

BackgroundX Property, SftTree Object

Defines the origin (horizontally) of the background bitmap.

Syntax

Get

VB.NETXOrigin = object.BackgroundX As Single
VBXOrigin = object.BackgroundX As Single
C#.NETfloat XOrigin = object.BackgroundX;
VC++float XOrigin = object->BackgroundX;
float XOrigin = object->GetBackgroundX();
CHRESULT object->get_BackgroundX(float* XOrigin);

Put

VB.NETobject.BackgroundX = XOrigin As Single
VBobject.BackgroundX = XOrigin As Single
C#.NETfloat object.BackgroundX = XOrigin;
VC++float object->BackgroundX = XOrigin;
void object->PutBackgroundX(float XOrigin);
CHRESULT object->put_BackgroundX(float XOrigin);

object

A SftTree object.

XOrigin

Defines the origin (horizontally) of the background bitmap. If 0 is specified, the background bitmap is aligned with the top/left edge of the tree control window. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

The BackgroundX property defines the origin (horizontally) of the background bitmap.

The BackgroundPicture property defines the graphic displayed as the control's background. The BackgroundStyle property affects how the bitmap is displayed when the tree control is scrolled horizontally.

Examples

VB6

      xBfStyle1       =   64044624
      xBfStyle2       =   -1014846369
      xBfStyle3       =   -1062113761
      xBfStyle4       =   793678321
      FlatProperties  =   0
      Appearance      =   1
      AutoRespond     =   -842150451
      BackgroundStyle =   0
      BackgroundX     =   0
      BackgroundY     =   0
      BorderStyle     =   0
      ButtonStyle     =   2
      CellEventHandling=   0
      CellEditStyle   =   0
      CellEditLimit   =   0
      ColumnCount     =   2

See Also SftTree Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.