Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptionsHeader.Style Property

Defines the appearance of the header.

Syntax

Get

VB.NETStyle = object.Style As SftOptionsHeaderStyleConstants
VBStyle = object.Style As SftOptionsHeaderStyleConstants
C#.NETSftOptionsHeaderStyleConstants Style = object.Style;
VC++enum SftOptionsHeaderStyleConstants Style = object->Style;
enum SftOptionsHeaderStyleConstants Style = object->GetStyle();
CHRESULT object->get_Style(enum SftOptionsHeaderStyleConstants* Style);

Put

VB.NETobject.Style = Style As SftOptionsHeaderStyleConstants
VBobject.Style = Style As SftOptionsHeaderStyleConstants
C#.NETSftOptionsHeaderStyleConstants object.Style = Style;
VC++enum SftOptionsHeaderStyleConstants object->Style = Style;
void object->PutStyle(enum SftOptionsHeaderStyleConstants Style);
CHRESULT object->put_Style(enum SftOptionsHeaderStyleConstants Style);

object

A SftOptionsHeader object.

Style

Defines the appearance of the header.

NameValueDescription
headerSftOptionsNone0The column header is not displayed.
headerSftOptionsButton1The column header is displayed as a button.
headerSftOptionsTitle2The column header is displayed as a title.

Comments

The Style property defines the appearance of the header.

If the Style property is set to headerSftOptionsButton, the column header can be pressed by the user and generates the HeaderClicked event.

Example

SftOptions1.Header.Align = constSftOptionsCenter
SftOptions1.Header.Style = headerSftOptionsButton
SftOptions1.Header.Text = "Options"
SftOptions1.Header.ToolTip = "ToolTip for these options"
SftOptions1.Add "", "Topic1", "Sample Topic", entrySftOptionsTopic, "", "", Nothing, "", "", "", ""
SftOptions1.InitializationComplete

See Also SftOptionsHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.