C
Craig Moran
------=_Part_672_28997123.1114797483805
Content-Type: multipart/alternative;
boundary="----=_Part_673_10079008.1114797483805"
------=_Part_673_10079008.1114797483805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I am having a refresh issue with the FXProgressBar that I'd like to resolve=
=20
First, I would like to state that I am not an experienced GUI programmer, s=
o=20
I'd like some guidance. I am working with Fox, trying to implement a=20
progress bar. I've stripped the code below to what I think is the simplest=
=20
base level design. If it may be done simpler, please let me know.
The issue is this. When I run this program and let it complete with no=20
interaction, it works fine. However, if I start clicking on the title bar,=
=20
it will eventually stop refreshing the application GUI. During my tests,=20
this will generally occur at 9% or shortly thereafter. When I have caused=
=20
the GUI to stop refreshing, the program still runs to completion, then=20
refreshes when the progress bar hits 100%.
Here's what I'd like to know:
1. Am I implementing this correctly?=20
2. Is there a better way to implement this? In the doStuff def, I=20
would actually be performing real work.=20
3. Am I not making the correct calls to refresh the GUI?=20
C:\>ruby -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
This is the 1.8.2-15 One-Click Installer for Windows
I am running it on Windows XP SP1. I have duplicated this behavior on=20
Windows 2000 with the same One-Click Installer. I don't think this is an=20
issue with the One-Click Installer. I think that I am doing something wrong=
Content-Type: multipart/alternative;
boundary="----=_Part_673_10079008.1114797483805"
------=_Part_673_10079008.1114797483805
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I am having a refresh issue with the FXProgressBar that I'd like to resolve=
=20
First, I would like to state that I am not an experienced GUI programmer, s=
o=20
I'd like some guidance. I am working with Fox, trying to implement a=20
progress bar. I've stripped the code below to what I think is the simplest=
=20
base level design. If it may be done simpler, please let me know.
The issue is this. When I run this program and let it complete with no=20
interaction, it works fine. However, if I start clicking on the title bar,=
=20
it will eventually stop refreshing the application GUI. During my tests,=20
this will generally occur at 9% or shortly thereafter. When I have caused=
=20
the GUI to stop refreshing, the program still runs to completion, then=20
refreshes when the progress bar hits 100%.
Here's what I'd like to know:
1. Am I implementing this correctly?=20
2. Is there a better way to implement this? In the doStuff def, I=20
would actually be performing real work.=20
3. Am I not making the correct calls to refresh the GUI?=20
C:\>ruby -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
This is the 1.8.2-15 One-Click Installer for Windows
I am running it on Windows XP SP1. I have duplicated this behavior on=20
Windows 2000 with the same One-Click Installer. I don't think this is an=20
issue with the One-Click Installer. I think that I am doing something wrong=