SetDisplayInfo Method

This member of Class WaveLinkWidget is supported on: CE

The SetDisplayInfo Method sets the formatting and display text of the widget.

Syntax

public void SetDisplayInfo(String fontName, int fontSize, long foreColor, long backColor, String displayText, long displayFlags)

Parameters

fontName

The type face for the label display

fontSize

The type size for the label display

foreColor

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

backColor

The color, in six-byte RGB format, of the widget background (example, FFFFFF)

displayText

The display text of the widget

displayFlags

The modifiers for the display text

Remarks

See client documentation for more information about specifying font size and font name.

The possible values for displayFlags parameter are:

CENTERJUST - Center justify the label

LEFTJUST - Left justify the label

RIGHTJUST - Right justify the label

The additional possible values for the displayFlags parameter for a push button widget are:

PBFIXED - Size each push button equally

PBHORIZONTAL - Position push button horizontally

PBPROPORTIONAL - Position to the size of the text

PBVERTICAL - Postion push button vertically

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal