Jack.......

..... but if you run the code under Win32 what happens? It does work fine on my Mac...... but under Win32 the PrinterSetup seems to get corrupted after the window closes..... although all its properties look fine.

Jim

On Mar 9, 2006, at 6:33 AM, realbasic-nug- [EMAIL PROTECTED] wrote:

Message: 18
Subject: Re: Another Win32 Print Problem?
From: CV <[EMAIL PROTECTED]>
Date: Thu, 9 Mar 2006 01:16:45 -0800


On Mar 7, 2006, at 10:53 AM, Meyer Jim wrote:

Hi all.....

Before I report this problem could someone tell me if this is
something I am doing wrong or a bug?

1.  Start a new project.
2.  Create an app property: ps as printersetup
3.  In the app.open event include:
    "ps = new printersetup"
4.  In window1 add one pushbutton with the following action event:
    Window2.ShowModal

5.  Create Window2 and add one pushbutton.
6. In that Window2 button add the following code to its action event:
    dim g as Graphics
     g = OpenPrinterDialog(app.ps)

Now:
1.  Run the app.....
2.  Click on the Window1 button....
3.  When Window2 opens, click on its button
4.  Click the Print button in the resulting Print Dialog.
5.  Close Window2 using the close box.

6.  Again click on the Window1 button.
7.  When Window2 opens, click on its button.
8.  Now in my tests, the Print Dialog will not open.....  and I
would think it should.....


I am running 2006r1 on a Mac remote debugging onto Win32 XP.


There is nothing wrong. The Print Dialog should open and it does on
the Mac, testing per your description.

Best,

Jack

_______________________________________________
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