SetDisplayInfo Method

This member of WaveLinkWidget Object is supported on: CE

The SetDisplayInfo method sets the formatting and text of the widget.

VB

object.SetDisplayInfo FontName, FontSize, ForeColor, BackColor, LabelText, DsplFlags

VC++

HRESULT = object->SetDisplayInfo(BSTR FontName, short FontSize, long ForeColor, long BackColor, BSTR LabelText, long DsplFlags);

Parameters

FontName

The typeface for the label display

FontSize

The typeface size for the label display

ForeColor

Specifies the color, in six-byte RGB format, of the label text (example, FFFFFF)

BackColor

Specifies the color, in six-byte RGB format, of the widget background

LabelText

The display text of the widget

DsplFlags

The modifiers for the display text. The possible values are:

CENTERJUST

LEFTJUST

RIGHTJUST

The possible additional values for the display flags of a push button widget are:

PBHORIZONTAL Positions a push button widget horizontally.

PBVERTICAL Positions a push button widget vertically.

PBPROPORTIONAL Sizes each box of a push button widget to the size of the text that it contains.

PBFIXED Sizes each box of a push button widget to the same size.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal