[Fxruby-users] FXProgressDialog problem
Status: Inactive
Brought to you by:
lyle
|
From: Carl Y. <ca...@yo...> - 2003-12-16 18:28:18
|
I'm trying to display a progress dialog after the user clicks a button.
In my onClick method for my application, I have the following code:
FXProgressDialog.new(self,
"Bayesian Inference Progress",
"Learning Bayesian network",
PROGRESSDIALOG_NOCANCEL) do |prog|
prog.total = @transactions.size - total_categorized + 120
prog.progress = 0
# stuff ...
prog.progress += 10
# more stuff ...
prog.progress += 10
# etc. etc.
end
When I click on the button, the code gets executed but I never see the
progress dialog. What am I doing wrong?
Thanks,
Carl Youngblood
|