realbasic-plugins
[Top] [All Lists]

Re: Background coloring of a control

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Background coloring of a control
From: Einhugur Software <bjorn at einhugur dot com>
Date: Sun, 23 Jan 2005 05:51:36 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <BE189F78 dot BCDA%vanhoek at mac dot com>

On 23.1.2005, at 05:25, Alfred Van Hoek wrote:

on 1/22/05 10:29 PM, Einhugur Software at bjorn at einhugur dot com wrote:

Not sure what you are attempting to accomplish here but the above
should be:

That's not an issue. While it seems that the background color can be
changed, it does not show what ever values (0 to 65000+) are chosen for the
color fields. I am just wandering whether it would be possible to set a
backcolor on a control, instead of using the backcolor of the window (only
the control should show a different backcolor).

I don't seem to grasp it. Calling EraseRect should erase the area filling the rect with the background color. Compiling for classic or OSX gives a similar result (negative), which suggests that it is not an OS issue, but
simply an issue of concept.

Alfred


BackColors have worked for me (up to a point)

That is if you call a REALbasic Graphics call (any such, even setting the Graphics) then the back color gets lost.

--
______________________________________________________________________
Björn Eiríksson                            bjorn at einhugur dot com
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 43 countries world wide.
______________________________________________________________________
For support:                               support at einhugur dot com
To post on the maillist:                   einhugur at yahoogroups dot com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>