I use the tPrinter class for all reports and printouts.
Here is the setup. The program has a button to call a function which creates a printed invoice. The ACTION statement of the button calls the invoice printing function. The user then gets to choose the printer ( default or select a printer ) and if it is directly printed, or previewed. Once the selection is made, the invoice is printed ( or previewed ), and then the main invoice screen reappears.
In a few locations the clients are seeing the following behavior suddenly. The printer selection window appears, and if they select an alternate printer, which calls the windows printer selection screen, or sometimes when they select the preview, there are some flashes and the print screen(s) lose focus, and the main invoice dialog returns. There are no icons for the print dialogs on the task bar.
Has anyone seen this type of behavior and developed a process by which the function called by a button must complete before the calling dialog can regain focus ?
The call is simple: REDEFINE BUTTON oBtn ACTION PrintInvoice()
Your thoughts and ideas are appreciated !
BTW, this is a new behavior but not related to a newer version of FWH. The computers are older ( 333 MHz, 256 MB RAM, dot matrix printers, shared ).
Tim