SftDirectory 2.5

SftDirectoryColumn.WidthPix Property

Softel vdm, Inc.

Defines the column's width in pixels.

Syntax       

Get

VB.NET

WidthPix = object.WidthPix  As Integer

VB

WidthPix = object.WidthPix  As Long

C#.NET

int WidthPix = object.WidthPix;

VC++

long WidthPix = object->WidthPix;
long WidthPix = object->GetWidthPix();

C

HRESULT object->get_WidthPix(long* WidthPix);

Delphi

WidthPix := object.WidthPix   : Integer;

Put

VB.NET

object.WidthPix = WidthPix  As Integer

VB

object.WidthPix = WidthPix  As Long

C#.NET

int object.WidthPix = WidthPix;

VC++

long object->WidthPix = WidthPix;
void object->PutWidthPix(long WidthPix);

C

HRESULT object->put_WidthPix(long WidthPix);

Delphi

object.WidthPix := WidthPix   : Integer;

object

A SftDirectoryColumn object.

WidthPix

Defines the column's width in pixels.

Comments

The WidthPix property defines the column's width in pixels.

The last displayed column always uses all remaining display space and ignores the Width property.

The Column.MakeOptimal method can be used to determine and set the best width for a column.


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