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 13:46:12 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <BE18BBBE dot BCDE%vanhoek at mac dot com>

On 23.1.2005, at 07:26, Alfred Van Hoek wrote:

on 1/23/05 12:51 AM, Einhugur Software at bjorn at einhugur dot com wrote:

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.


Oh no!, and I am using graphics calls. I figured that by setting the
window.hasbackcolor allows for the backcolor change of the control, but only on a non-composite window. Currently, I don't have any background color at all, while the lib expects a background color. darn, using dynamic access to a graphics object, in addition to two sliders, and a canvas seemed to be so
cool... So this statement from you supports my evolving notion that the
plugin becomes more and more dependent on RB's performance and potential
bugs. I am not really satisfied:

For example, when a non-metal window is chosen but with composite flag and
hasbackcolor = false, clicking in one of the arrow areas of the slider,
shows a white background, but when dragging the thumb this white background
disappears.

I wonder what else I can expect with the approach I have chosen. Going back to a plugin model not based on dynamic access will be a huge task, while the
conclusion of dynamic access, using existing controls, appears very
disappointing....

Alfred

Is there any reason why you cant use the BackColor just exactly where you use it?

That is setting the back color only just before the call that uses it ?

--
______________________________________________________________________
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>