[comp.lang.pascal] Blinking high-intensity white on red in TV

TOMJ@csdserver3.csd.scarolina.edu (Thomas E. Jenkins, Jr.) (06/06/91)

Hi,

  I remember someone asking why they received th above color combination
when placing an object designed for a TDialog in a TWindow.  The general
concensous ( correctly ) of the list was that the object as is was not
intended to be used in a window.  I don't remember if anyone ever posted the
reason that color combination appeared.  While reading through the addition
DOC file that came with TV, I found the answer.  In VIEWS.PAS, there is a
CONST ( CONST ErrorAttr : BYTE = $CF ; ) that is returned if a
TView.GetColor fails to properly map a color.  There are several other GOOD
things to know in these DOCs such as the fact that TSortedCollection CAN
handle duplicates if you set TSortedCollections.duplicates := TRUE ;, etc.


tom
+--------------------------------------------------------------------------+
|  Thomas E. Jenkins, Jr.   Programmer, University of South Carolina CSD   |
+--------------------------------------------------------------------------+
| BITNET         :  C0361@UNIVSCVM.BITNET  |  CSDNET  :  tomj/csdserver3   |
| INTERNET       :  TOMJ@csdserver3.csd.scarolina.EDU          {PREFERRED} |
|                :  C0361@univscvm.csd.scarolina.EDU  |  129.252.43.30     |
+--------------------------------------------------------------------------+