SftPrintPreview/OCX 1.0

SftPrintPreview.ToolbarColor Property

Softel vdm, Inc.

Defines the tool bar background color used.

Syntax       

Get

VB.NET

Clr = object.ToolbarColor  As System.Drawing.Color

VB

Clr = object.ToolbarColor  As OLE_COLOR

C#.NET

System.Drawing.Color Clr = object.ToolbarColor;

VC++

OLE_COLOR Clr = object->ToolbarColor;
OLE_COLOR Clr = object->GetToolbarColor();

C

HRESULT object->get_ToolbarColor(OLE_COLOR* Clr);

Delphi

Clr := object.ToolbarColor  : TColor;

Put

VB.NET

object.ToolbarColor = Clr  As System.Drawing.Color

VB

object.ToolbarColor = Clr  As OLE_COLOR

C#.NET

System.Drawing.Color object.ToolbarColor = Clr;

VC++

OLE_COLOR object->ToolbarColor = Clr;
void object->PutToolbarColor(OLE_COLOR Clr);

C

HRESULT object->put_ToolbarColor(OLE_COLOR Clr);

Delphi

object.ToolbarColor := Clr  : TColor;

object

A SftPrintPreview object.

Clr

Defines the tool bar background color used.  If -1 is specified, the default background color for dialogs, defined using Control Panel, is used.  For information about color properties, please visit the applicable section "Using SftPrintPreview/OCX with ...".  

Comments

The ToolbarColor property defines the tool bar background color used.

This property has no effect if Windows themes are used. 


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