SftBox/OCX 4.5

SftBoxDropDown.ImageDropped Property

Softel vdm, Inc.

Defines the graphic displayed in the drop down button when the drop down portion is shown.

Syntax       

Get

VB.NET

refImageObj = object.ImageDropped  As SftPictureObject

VB

Set refImageObj = object.ImageDropped  As SftPictureObject

C#.NET

SftPictureObject refImageObj = object.ImageDropped;

VC++

ISftPictureObject* refImageObj = object->ImageDropped;
ISftPictureObject* refImageObj = object->GetImageDropped();

C

HRESULT object->get_ImageDropped(ISftPictureObject** refImageObj);

Delphi

refImageObj := object.ImageDropped  : ISftPictureObject;

Put

VB.NET

object.ImageDropped = refImageObj  As SftPictureObject

VB

object.ImageDropped = refImageObj  As SftPictureObject

C#.NET

SftPictureObject object.ImageDropped = refImageObj;

VC++

ISftPictureObject* object->ImageDropped = refImageObj;
void object->PutImageDropped(ISftPictureObject* refImageObj);

C

HRESULT object->put_ImageDropped(ISftPictureObject* refImageObj);

Delphi

object.ImageDropped := refImageObj  : ISftPictureObject;

object

A SftBoxDropDown object.

refImageObj

Defines the graphic displayed in the drop down button when the drop down portion is shown.

Comments

The ImageDropped property defines the graphic displayed in the drop down button when the drop down portion is shown.

If the image object refImageObj defines a bitmap, the top, left pixel of the bitmap must contain the bitmap's background color. This color will be replaced throughout the bitmap with the actual background (see Bitmap Transparency).

The ImageDropped property is ignored if the DropDown.Image property has not been assigned and is set to Nothing (0, null, NULL).

The DropDown.ButtonStyle property is used to define the appearance of the drop down button.


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