Highlight (ScreenField property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
mNo edit summary
Line 1: Line 1:
This property sets or returns the value of the highlight for a ScreenField. This value is a ScreenField class enumeration. This attribute is initially set for a field by the [[Screen class#AddField function|AddField method]].
This property sets or returns the value of the highlight for a ScreenField. This value is a ScreenField class enumeration. This attribute is initially set for a field by the [[Screen class#AddField function|AddField method]].
==Syntax==
===Syntax terms===
<dl>
<dt>value
<dd>An enumeration of type Highlight. Valid values are none, underline, reverse, and blink. The default value is none.
<dt>%sfield
<dd>A reference to an instance of a ScreenField object.
</dl>


  %sfield:Highlight = value
==Usage Notes==
  value = %sfield:Highlight
 
; Highlight syntax
 
; value
: An enumeration of type Highlight. Valid values are none, underline, reverse, and blink. The default value is none.
 
; %sfield
: A reference to an instance of a ScreenField object.
 
; Usage Notes


The Highlight method lets you set highlights regardless of the actual terminal type, although some terminals may not display these attributes correctly. Also, many terminal emulator programs allow local customization of highlighting attributes. Under either of these conditions, which are not detectable by the Screen methods, the actual display may not show the intended highlighting.
The Highlight method lets you set highlights regardless of the actual terminal type, although some terminals may not display these attributes correctly. Also, many terminal emulator programs allow local customization of highlighting attributes. Under either of these conditions, which are not detectable by the Screen methods, the actual display may not show the intended highlighting.


For an example using Highlight method calls, see “[[Screen class example]]”.
For an example using Highlight method calls, see “[[Screen class example]]”.

Revision as of 20:18, 18 March 2011

This property sets or returns the value of the highlight for a ScreenField. This value is a ScreenField class enumeration. This attribute is initially set for a field by the AddField method.

Syntax

Syntax terms

value
An enumeration of type Highlight. Valid values are none, underline, reverse, and blink. The default value is none.
%sfield
A reference to an instance of a ScreenField object.

Usage Notes

The Highlight method lets you set highlights regardless of the actual terminal type, although some terminals may not display these attributes correctly. Also, many terminal emulator programs allow local customization of highlighting attributes. Under either of these conditions, which are not detectable by the Screen methods, the actual display may not show the intended highlighting.

For an example using Highlight method calls, see “Screen class example”.