Displaying 1 result from an estimated 1 matches for "apreport".
Did you mean:
opreport
2007 Jun 28
2
Keeping GUI responsive while processing data
...nce this doesn''t work, or I''m doing it wrong.
I have a button called ''run'' which calls the following method:
--------------- button code -------------------------------
def run
dialog = Wx::FileDialog.new(self, "Save Report", "",
"APReport.xls", "Excel Files (.xls)|*.xls", Wx::SAVE|Wx::OVERWRITE_PROMPT)
file1 = @file1.get_value.to_s.strip
file2 = @file2.get_value.to_s.strip
if file1 == '''' or file2 == ''''
info = sprintf("Please make sure you have selected b...