John Kouraklis <j_kour@hotmail.com> wrote:
> 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)
Composite windows do the trick, and for me, they work just fine. Maybe
I'm just lucky.
> 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.
If you don't want to use a thread, calling self.UpdateNow after changing
the ProgressBar value will enforce the update. Don't update more often
than necessary.
- Michael
Michael J. Hußmann
E-mail: michael@michael-hussmann.de
WWW (personal): http://michael-hussmann.de
WWW (professional): http://digicam-experts.de
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|