Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!hsdndev!cmcl2!adm!news From: TOMJ@csdserver3.csd.scarolina.edu (Thomas E. Jenkins, Jr.) Newsgroups: comp.lang.pascal Subject: Blinking high-intensity white on red in TV Message-ID: <27125@adm.brl.mil> Date: 5 Jun 91 20:54:13 GMT Sender: news@adm.brl.mil Lines: 22 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 | +--------------------------------------------------------------------------+