SftTree/OCX 7.0

SftTree.BackgroundX Property

Softel vdm, Inc.

Defines the origin (horizontally) of the background bitmap.

Syntax       

Get

VB.NET

XOrigin = object.BackgroundX  As Single

VB

XOrigin = object.BackgroundX  As Single

C#.NET

float XOrigin = object.BackgroundX;

VC++

float XOrigin = object->BackgroundX;
float XOrigin = object->GetBackgroundX();

C

HRESULT object->get_BackgroundX(float* XOrigin);

Delphi

XOrigin := object.BackgroundX   : Single;

Put

VB.NET

object.BackgroundX = XOrigin  As Single

VB

object.BackgroundX = XOrigin  As Single

C#.NET

float object.BackgroundX = XOrigin;

VC++

float object->BackgroundX = XOrigin;
void object->PutBackgroundX(float XOrigin);

C

HRESULT object->put_BackgroundX(float XOrigin);

Delphi

object.BackgroundX := XOrigin   : Single;

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.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com