realbasic-nug
[Top] [All Lists]

Re: CheckBox Background and ProgressBar fuctionality

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: CheckBox Background and ProgressBar fuctionality
From: Charles Yeomans <charles@declareSub.com>
Date: Tue, 25 Nov 2008 18:01:02 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <BLU122-DAV5BF48FA8226A86ACF1840F90B0@phx.gbl>
References: <BLU122-DAV5BF48FA8226A86ACF1840F90B0@phx.gbl>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Nov 25, 2008, at 5:35 PM, John Kouraklis wrote:

Hallo all,

I have these two problems:

1) I use a checkbox placed over a rectangular with a fill color. The strange this is that the checkbox is not transparent. I mean that I can see the boundaries of the checkbox having different color (that gray/silver from the
OS) and I cant find a way to change the background color for this
(rb2008r2,MacOS)

I think you'll need to use a composited window. Unfortunately, composited windows have issues.




2) I have a lengthy procedure running and I am trying to use a progress bar (rb2008r1,WinXP). What happens is that the program runs but the user cant see the progress bar been updated because the window with the bar does not draw it self. The program is busy with the procedure and the window is at
an "Not Responding" state. After that I can see the bar full and the
procedure to end

Do I have to put it in a thread? But I don't want the user to do other
things. He has to wait to finish. I have tried it with a timer but the same
thing happens.


You should put the procedure in a thread and somehow prevent the user
from proceeding while the procedure is running.

Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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