$CUROCC_VIDEO_HLT
Specifies the combination of colors to use when $curoccvideo or
curoccvideo is set to HLT
in ProcScript.
$CUROCC_VIDEO_HLT { =
}
backcolor=
ColorDefinitionforecolor=
ColorDefinition
Arguments
ColorDefinition—color specified in any of the following formats:
- Web color name as defined by the W3C consortium; for example,
green
RRR,GGG,BBB
—decimal red-green-blue value; for example,#008000
#RRGGBB
—hexadecimal RGB value; for example,0,255,0
Defaults
Assignment file: | Any application assignment file |
Section: | [SETTINGS] |
Default value: | None |
Description
If the ProcScript instructions $curoccvideo or curoccvideo
set the video attribute to HLT
, this can cause a conflict if the system highlight
color is the same as the color used by Windows to highlight text selected in an edit box. In this
case, the difference between selected and non-selected text will not be visible to the user.
You can use $CUROCC_VIDEO_HLT to specify the specific combination of colors to use for occurrence highlight color. The defined highlight color is applicable for following widgets:
- Edit Box
- Combo Box
- List Box
- Check Box
- Output Box
- Spin Button
- Picture
Caution: If you use $CUROCC_VIDEO_HLT
, do not set the
$CUROCC_VIDEO
and $DEF_CUROCC_VIDEO
assignment setting. Doing so
causes unpredictable highlight behavior.
Note: $CUROCC_VIDEO_HLT
has no effect if $curoccvideo or
curoccvideo are set to any other video attribute.
$CUROCC_VIDEO_HLT
A form contains the following ProcScript:
$curoccvideo ("CUSTOMER") = "HLT"
The following setting in the assignment file, causes the current occurrence as dark green with white text:
$CUROCC_VIDEO_HLT backcolor=#006400 forecolor=255,255,255
The following setting displays the current occurrence as dark blue with beige text:
$CUROCC_VIDEO_HLT backcolor=midbightblue forecolor=#FAEBD7