Hi Arnaud,

I don't think I understand the problem, but correct me if you may.

So, I click on the print Pushbutton, and the "Print" dialog box comes up, the 
four options I see are
PDF with a disclosure triangle, "Preview", "Cancel" and "Print"

Are you saying that when you click "Cancel" there is a problem?

Well I don't have any problems when I click "Cancel".
I have immediately below g = openPrinterDialog the following code

If g = nil then
return
end if

and as I mentioned before I don't have any problems.

Lennox.

Arnaud Nicolet <[EMAIL PROTECTED]> wrote: Le 5 déc. 06 à 19:21 Soir, Stefan a 
écrit:

>
> Am 05.12.2006 um 12:58 schrieb Arnaud Nicolet:
>
>> Now, what should I do if the user hits "Cancel"? Actually, a blank  
>> page will be printed anyhow as soon as "g" goes out of scope,  
>> unless I kill my app (apparently).
>>
>> Also, when the dialog "Processing page: x" is shown, the user can  
>> cancels the print using the "Cancel" button. How do I detect that  
>> from my RB app?
>>
>> P.S. Using RB 5.5, if it matters.
>
> It does matter!
>
> In 5.5.x, the cancel mechanism often crashes the app. I gave up to
> work on this issue. Others reported this problem too.

I've never had such crash.

Well, my question was mostly not in the case of a crash ;-)

Since no one responded to my question, I think either there is no  
solution to my problem, either everyone hate me 
:-(_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



 
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to